This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!

Jose Marin

Greenhorn
+ Follow
since Jul 19, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Jose Marin

Hello All,

I used Axis2 ADB to create a service stub class from a WSDL provided by a company but am having trouble writing the client to consume the service. I am using Eclipse IDE to generate and develop my service clients.

Everything works fine when I create the stub class and let Eclipse automatically test it I see the SOAP generated meets the service's requirements with the expected soap envelope namespace, xsi namespace, etc.. However, the hand written client does not return the proper soap envelope definitions nor the XSI namespace declaration.

Obviously I'm missing something when I implement the stub but don't know what it is. Looking at the Eclipse generated JSPs the service call is simply one line of code producing the proper output.

Here's my output:



Here's my expected output, produced by the Eclipse JSPs:



Here's the client code (sans import declarations):



Any help, pointers or tips will be greatly appreciated.
10 years ago
How are you applying the security policy? Let's see your code.
10 years ago