DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8426

Axis client can not access .Net Web Service

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-04-25 13:11 -------
The relevant part of the WSDL is:

      <soap:operation 
soapAction="http://Walkthrough/XmlWebServices/ConvertTemperature"; 
style="document" />

This tells you that for this operation, you need exactly that SOAPAction value.

call.setSOAPActionURI("http://Walkthrough/XmlWebServices/ConvertTemperature";);

Also, you want a return type of XSD_DOUBLE, not XSD_INT, since the service 
returns a double.

The easiest way to deal with this is to use WSDL2Java to make a Stub which you 
can use in a hassle-free manner to access this service.  It'll automatically 
do the right thing with SOAPAction, and with the fact that this is a 
document/literal service, which might require a little more tweaking to get 
the dynamic interface working.

I'm going to mark this bug as INVALID, since it's a matter of 
configuration/usage and not really a bug.  Please follow up on axis-user if 
you continue to have problems.  Thanks!

Reply via email to