Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper 1.5.3 WS SOAP error

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper 1.5.3 WS SOAP error


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Scott Koranda <>, "" <>
  • Subject: RE: [grouper-users] Grouper 1.5.3 WS SOAP error
  • Date: Fri, 23 Apr 2010 20:43:41 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

With my client, the XML is this in 1.5.3 and it works fine. Do other calls
work, is it just this one that fails?

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
<soapenv:Body>
<ns1:hasMember
xmlns:ns1="http://soap.ws.grouper.middleware.internet2.edu/xsd";>
<ns1:clientVersion>v1_5_000</ns1:clientVersion>
<ns1:wsGroupLookup>
<ns1:groupName>test:test1</ns1:groupName>
<ns1:uuid></ns1:uuid>
</ns1:wsGroupLookup>
<ns1:subjectLookups>
<ns1:subjectId>test.subject.0</ns1:subjectId>
<ns1:subjectIdentifier></ns1:subjectIdentifier>
<ns1:subjectSourceId></ns1:subjectSourceId>
</ns1:subjectLookups>
<ns1:memberFilter>Effective</ns1:memberFilter>
<ns1:actAsSubjectLookup>
<ns1:subjectId></ns1:subjectId>
<ns1:subjectIdentifier></ns1:subjectIdentifier>
<ns1:subjectSourceId></ns1:subjectSourceId>
</ns1:actAsSubjectLookup>
<ns1:fieldName></ns1:fieldName>
<ns1:includeGroupDetail>F</ns1:includeGroupDetail>
<ns1:includeSubjectDetail>F</ns1:includeSubjectDetail>
<ns1:subjectAttributeNames></ns1:subjectAttributeNames>
</ns1:hasMember>
</soapenv:Body>
</soapenv:Envelope>


Response:

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
<soapenv:Body>
<ns:hasMemberResponse
xmlns:ns="http://soap.ws.grouper.middleware.internet2.edu/xsd";>
<ns:return
type="edu.internet2.middleware.grouper.ws.soap.WsHasMemberResults">
<ns:responseMetadata
type="edu.internet2.middleware.grouper.ws.soap.WsResponseMeta">
<ns:millis>50</ns:millis>
<ns:resultWarnings
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:serverVersion>v1_5_003</ns:serverVersion>
</ns:responseMetadata>
<ns:resultMetadata
type="edu.internet2.middleware.grouper.ws.soap.WsResultMeta">
<ns:params xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:resultCode2
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:resultMessage>Success for: clientVersion: v1_5_000,
wsGroupLookup:
WsGroupLookup[uuid=,groupName=test:test1], subjectLookups: Array
size: 1: [0]:

WsSubjectLookup[subjectId=test.subject.0,subjectIdentifier=,subjectSourceId=]

memberFilter: Effective, actAsSubject:
WsSubjectLookup[subjectId=,subjectIdentifier=,subjectSourceId=],
fieldName:
null, includeGroupDetail: false, includeSubjectDetail: false,
subjectAttributeNames: Array size: 1: [0]:

,params: Empty array</ns:resultMessage>
<ns:success>T</ns:success>
</ns:resultMetadata>
<ns:results
type="edu.internet2.middleware.grouper.ws.soap.WsHasMemberResult">
<ns:resultMetadata
type="edu.internet2.middleware.grouper.ws.soap.WsResultMeta">
<ns:params xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:resultCode>IS_NOT_MEMBER</ns:resultCode>
<ns:resultCode2
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:resultMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:success>T</ns:success>
</ns:resultMetadata>
<ns:wsSubject
type="edu.internet2.middleware.grouper.ws.soap.WsSubject">
<ns:attributeValues
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:id>test.subject.0</ns:id>
<ns:identifierLookup
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:name>my name is test.subject.0</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>jdbc</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubject>
</ns:results>
<ns:subjectAttributeNames
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:wsGroup type="edu.internet2.middleware.grouper.ws.soap.WsGroup">
<ns:description
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:detail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:nil="true" />
<ns:displayExtension>test1</ns:displayExtension>
<ns:displayName>test:test1</ns:displayName>
<ns:extension>test1</ns:extension>
<ns:name>test:test1</ns:name>
<ns:uuid>3b647994ea0b44aaaf59ee0831348fd6</ns:uuid>
</ns:wsGroup>
</ns:return>
</ns:hasMemberResponse>
</soapenv:Body>
</soapenv:Envelope>



-----Original Message-----
From: Scott Koranda
[mailto:]

Sent: Friday, April 23, 2010 8:03 PM
To:

Subject: [grouper-users] Grouper 1.5.3 WS SOAP error

Hi,

I am sending in this to Grouper 1.5.3 SOAP WS:

POST /grouper-ws/services/GrouperService HTTP/1.1
Host: somemachine.somewhere
Accept: */*

Cookie: JSESSIONID=5A69239253EAFB800244367DF4567141;
_saml_idp=aHR0cHM6Ly9sb2dpci5saWdvLm9yZy9pZHAvc2hpYmJvbGV0aA%3D%3D;
_shibsession_64656661756c7268747470733a2f2f63756d696e2e706879732e75776d2e6564752f73686962626f6c6574682d7370=_456eb06ff3a73f8efb8677bae9f2bf0a

Content-Type: application/soap+xml; charset=UTF-8; action="urn:hasMember"

Content-Length: 1027

Expect: 100-continue

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://soap.ws.grouper.middleware.internet2.edu/xsd";><SOAP-ENV:Body><ns1:hasMember><ns1:clientVersion>v1_5_000</ns1:clientVersion><ns1:wsGroupLookup><ns1:groupName>Communities:LVC:LSC:LSCGroupMembers</ns1:groupName><ns1:uuid></ns1:uuid></ns1:wsGroupLookup><ns1:subjectLookups><ns1:subjectId></ns1:subjectId><ns1:subjectIdentifier></ns1:subjectIdentifier><ns1:subjectSourceId></ns1:subjectSourceId></ns1:subjectLookups><ns1:memberFilter>Effective</ns1:memberFilter><ns1:actAsSubjectLookup><ns1:subjectId></ns1:subjectId><ns1:subjectIdentifier></ns1:subjectIdentifier><ns1:subjectSourceId></ns1:subjectSourceId></ns1:actAsSubjectLookup><ns1:fieldName></ns1:fieldName><ns1:includeGroupDetail>F</ns1:includeGroupDetail><ns1:includeSubjectDetail>F</ns1:includeSubjectDetail><ns1:subjectAttributeNames></ns1:subjectAttributeNames></ns1:hasMember></SOAP-ENV:Body></SOAP-ENV:Envelope>

I am getting a 500 Internal Server Error with a Tomcat stack
trace back. The Tomcat log shows me this:

Apr 23, 2010 6:50:45 PM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet AxisServlet threw
exception
java.lang.NullPointerException
at
org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:408)
at
org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
edu.internet2.middleware.grouper.ws.GrouperServiceAxisServlet.service(GrouperServiceAxisServlet.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChai

That's all the Tomcat log is showing me.

The same POST data used to work in Grouper 1.4.x WS (the only
thing I changed was the clientVersion).

Any ideas on what is wrong or how I can further debug?

Thanks,

Scott





Archive powered by MHonArc 2.6.16.

Top of Page