aspose file tools*
The moose likes Web Services and the fly likes AXIS2 wsdl2java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "AXIS2 wsdl2java" Watch "AXIS2 wsdl2java" New topic
Author

AXIS2 wsdl2java

Dave Herzig
Greenhorn

Joined: Oct 08, 2008
Posts: 1
Dear Java Users

I have a wsdl file in which the operations are protected with the username token.

I have included the username token in the wsdl file with the following policy:

<wsp olicy>
<wsp olicyReference URI="http://sii.roche.com/registry/policies/UsernameTokenV1_0.xml#UsernameToken"/>
</wsp olicy>

If I take a look on the policy URI (in the browser http://sii.roche.com/registry/policies/UsernameTokenV1_0.xml#UsernameToken) I will see the correct policy.

But if I use wsdl2java, it will end up with an error.

[ERROR] http://sii.bas.roche.com/registry/policies/UsernameTokenV1_0.xml#UsernameToken can't be resolved

If I use the Weblogic libraries to access the web services it works. With axis2 I have the described problem. Does anybody of you have an idea?

Many thanks in advance

Dave
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: AXIS2 wsdl2java