|
Hi, I was looking over Example 6 of Axis Beta 2 and I might have
found a problem. The namespace that was generated for the setWidgetPrice
operation input is wrong. Here is what I ran: C:\ws\xml-axis-beta2\samples>java
org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l" http://localhost:8080/axis/services/WidgetPrice" -n "urn:Example6"
-p"samples.u serguide.example6" "urn:Example6" samples.userguide.example6.WidgetPrice Here is the code snippet from the wp.wsdl
output: <wsdl:operation
name="setWidgetPrice">
<wsdlsoap:operation
soapAction=""/>
<wsdl:input>
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="setWidgetPrice"
use="encoded"/>
</wsdl:input> Notice the namespace is the same name as the operation. It’s
to my understanding that I already specified the namespace in the arguments of
running Java2WSDL as “urn:Example6”. So my question is this, should the namespace be “setWidgetPrice” and if so then why is the namespace not
the location of where the web service operation is located? I believe that this is possibly an error that needs to be
fixed. Thank you, Chris Carver |
