• Post Reply Bookmark Topic Watch Topic
  • New Topic

AXIS2 wsdl2java  RSS feed

Dave Herzig
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!