Skip to main content

alphaWorks  >  Forums  >  Ad Hoc Development and Integration Tool for End Users  >  developerWorks

External WS    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 7 - Pages: 1 - Last Post: Sep 8, 2005 10:52 PM Last Post By: Threads: [ Previous | Next ]

Posts: 4
Registered: Aug 24, 2005 09:57:08 AM
External WS
Posted: Aug 24, 2005 10:07:31 AM
Click to report abuse...   Click to reply to this thread Reply
I tried to import a new external web service, but with no success. I am taking a URL to a WS from xmethods.com. There is a error displayed on the Tomcat console (WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at ...).
Than I tried to import from my local tomcat where I copied a wsdl file. Again error, but a different one.
Could someone help?

Posts: 6
Registered: Jul 21, 2005 05:54:55 PM
Re: External WS
Posted: Aug 24, 2005 10:17:46 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Can you provide the WSDL URL you are trying to import?
I will try it and see what happens.

Posts: 4
Registered: Aug 24, 2005 09:57:08 AM
Re: External WS
Posted: Aug 26, 2005 04:07:38 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
http://ws.strikeiron.com/CensusData?WSDL

I have tried with several different WSDLs.

By the way the tools looks very good and I am willing to give it a try again.

Posts: 6
Registered: Jul 21, 2005 05:54:55 PM
Re: External WS
Posted: Aug 26, 2005 06:27:53 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
The current version of ADIEU is limited to WSDLs that use simple types for their arguments and results. Many of the StrikeIron services use complex types such as <sequence> as in the service you are trying to import. We have been working with StrikeIron to support these more complex WSDLs and should post an upgrade to ADIEU on alphaWorks in September. Handling arbitrarily complex XML types has been a research challenge since the beginning of this project because we are primarily focused on generating simple interfaces for end users to comprehend. The challenge is to generate a simple interface for an arbitrarily complex data structure that still conforms to the ADIEU format for field references in expressions. We believe we have a general solution to this problem, and which should be available on alphaWorks in January 2006.

Posts: 4
Registered: Aug 24, 2005 09:57:08 AM
Re: External WS
Posted: Aug 26, 2005 07:52:47 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Thank you for the answer!
Is it possible to see somewhere what does the tool currently inderstand. May be an exampled WS with simple types?

I tried to find such working WS but all WSDLs has at least one complex type.

Posts: 6
Registered: Jul 21, 2005 05:54:55 PM
Re: External WS
Posted: Aug 26, 2005 09:10:47 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
You can find some simple services on XMethods.com. The Delayed Stock Quote service and the Currency Exchange Rate service work well in ADIEU.

You can also create your own services from scratch that use the Extract From URL card. An example of this can be seen on the instantapps.org site, where I have an ADIEU derver set up for people to try out. There is a Flash movie on this site that shows a development session in ADIEU that builds such a service.

Posts: 4
Registered: Aug 24, 2005 09:57:08 AM
Re: External WS
Posted: Aug 29, 2005 08:02:50 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Thanks for the reply.
I have tried both WS, but I reveived the same error. I am working behind a company firewall, could this be a problem? How could I configure your tool to use a proxy server?

Posts: 1
Registered: Sep 08, 2005 09:14:30 PM
Re: External WS
Posted: Sep 08, 2005 10:52:04 PM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
> Thanks for the reply.
> I have tried both WS, but I reveived the same error.
> I am working behind a company firewall, could this be
> a problem? How could I configure your tool to use a
> proxy server?

Generally speaking, Java programs use JVM system properties as network (and other) settings. So, your ADIEU server might be able to use proxy server by setting "-Dhttp.proxyHost=hostname" as JVM option.

http://ws.apache.org/axis/java/client-side-axis.html#NetworkConfiguration (provided by apache axis project) explains options to be set.

Could you try these options? If you use WAS as an application server, see "Application Servers>server1>Process Definition>Java Virtual Machine" page with WAS Administrative Console. At "Generic JVM arguments" text field, you can enter the options like this, "-Dhttp.proxyHost=<hostname> -Dhttp.proxyPort=8080 -Dhttp.proxyUser=xxx..."

If you use tomcat, see "Java>Java options:" field with Apache Tomcat Properties dialog. You can set the options similarly.


Point your RSS reader here for a feed of the latest messages in all forums