This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AXIS2 wsdl2java

 
Dave Herzig
Greenhorn
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

Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic