Dave Herzig

Greenhorn
+ Follow
since Oct 08, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dave Herzig

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
15 years ago