Currently when I change the web.xml <servlet-mapping><url-pattern> the JSR-181 deployment does not reflect that change in the soap:address entry in the wsdl.
If I modify the wsdl to be consistent with the <servlet-mapping>, all works as expected:
web.xml:
...
<servlet-mapping>
<servlet-name>OrderService</servlet-name>
<url-pattern>/service/*</url-pattern>
</servlet-mapping>
wsdl:
<soap:address location="http://jboss:8080/TestService/OrderService"/>
I would have expected
wsdl:
<soap:address location="http://jboss:8080/TestService/service/OrderService"/>
And this in fact works.
Am I going about this all wrong?
Have a look at
http://fisheye.jboss.com/viewrep/JBossWS/trunk/src/main/java/org/jboss/ws/annotation/PortComponent.java?r=42
The JSR181 tests in the jbossws testsuite use it.