My Axis server (Axis2 as of a couple of months ago) is not working correctly, 
please help.

I have a class with this method:

public WsFindGroupsResults findGroups(String groupName, String stemName, 
String stemNameScope,
String groupUuid, String queryTerm, String querySearchFromStemName, 
String queryScope, WsSubjectLookup actAsSubjectLookup,
String[] paramNames, String[] paramValues) {

All of these params are optional.
I ran java2wsdl (with defaults mostly), and, then wsdl2java to generate a 
client.
When I set only one of the latter params, this is the soap request:

findGroups = FindGroups.class.newInstance();
findGroups.setGroupUuid("19284537-6118-44b2-bbbc-d5757c709cb7");
findGroupsResponse = stub.findGroups(findGroups);

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";><soapenv:Body>
<ns1:findGroups 
xmlns:ns1="http://webservices.grouper.middleware.internet2.edu/xsd";>
  <ns1:groupUuid>19284537-6118-44b2-bbbc-d5757c709cb7</ns1:groupUuid>
</ns1:findGroups>
</soapenv:Body>
</soapenv:Envelope>

So far so good.  But on the axis server, when the request is processed, it 
assigns "19284537-6118-44b2-bbbc-d5757c709cb7" to the input param variable 
"groupName", and not what I would expect: "groupUuid".  No matter what single 
param I set, it is always assigned to groupName (the first input).

What is going on here?

Thanks!
Chris


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to