Ok, I tracked down the exact problem I am having with the WSDLs. Accessing the wsdl using "?wsdl" returns a WSDL with the namespace set wrong in the response. The wsdl file generated in using Java2WSDL is correct. Below is an example. Notice the namespace in the request is basically my package name http://test.forum.com but the response has info about my server substituted in which is wrong, namespace should match the request:
<wsdl:input name="echoRequest">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://test.forum.com"/>
</wsdl:input>
<wsdl:output name="echoResponse">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/ForumWebModule/services/StringServices"/>
</wsdl:output>
I have attached the two wsdls, StringService.wsdl is
generated from
Java2WSDL, StringService-dynamic.wsdl is generated
dynamically using "?wsdl"
Why is this happening?
-Dana
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
StringServices.wsdl
Description: StringServices.wsdl
StringServices-dynamic.wsdl
Description: StringServices-dynamic.wsdl
