Advertisement

07.05.2008 at 09:55AM PDT, ID: 23540794
[x]
Attachment Details

IllegalArgumentException: null  for SOAP request

Asked by marklorenz in SOAP, IBM Websphere Application Server, WebApplications

Tags: SOAP fault

I've created a SOAP request for an EAR deployed on WAS 6.1 via RAD 7 (localhost). The EAR contains the Web service project WAR and the target Java project JAR.  I'm using soapUI to send in the request, but I get a IllegalArgumentException: null in the console log. However, the SOAP request has values for all the parameters to rebalance (portfolio, model, and constraints XML doc Strings).  Can anyone tell me what's going wrong?  Thanks, Mark

===== soapUI log =====
INFO:Loaded project from [C:\Documents and Settings\a445576\My Documents\Projects\MAPR\Web service\MAPRWS-soapui-project.xml]
:INFO:Got response for [MaprXmlAdapter.rebalance:Request 1] in 214ms (4664 bytes)

===== soapUI HTTP log =====
 "POST /fmr-pdk-fe-mapr-ws/services/MaprXmlAdapter HTTP/1.1[\r][\n]"
 "Content-Type: text/xml;charset=UTF-8[\r][\n]"
 "SOAPAction: "rebalance"[\r][\n]"
 "User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n]"
 "Host: localhost:8881[\r][\n]"
 "Content-Length: 6293[\r][\n]"
 "[\r][\n]"
 "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:x.="http://xml.client.mapr.fe.pdk.fmr.com">[\n]"
 "   <soapenv:Header/>[\n]"
 "   <soapenv:Body>[\n]"
 "      <x.:rebalance>[\n]"
 "         <customerPortfolioXml><portfolio> ... </portfolio> </customerPortfolioXml>[\n]"
 "         <modelXml><model> ... </model> </modelXml>[\n]"
 "         <parametersXml><constraints> ... </constraints></parametersXml>[\n]"
 "      </x.:rebalance>[\n]"
 "   </soapenv:Body>[\n]"
 "</soapenv:Envelope>"
 "HTTP/1.1 500 Internal Server Error[\r][\n]"
 "Server: WebSphere Application Server/6.1[\r][\n]"
 "Content-Type: text/xml; charset=utf-8[\r][\n]"
 "Content-Length: 4662[\r][\n]"
 "<?xml version='1.0' encoding='UTF-8'?>[\r][\n]"
 "<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">[\r][\n]"
 "<SOAP-ENV:Header xmlns:ns0="admin" ns0:WASRemoteRuntimeVersion="6.1.0.2" ns0:JMXMessageVersion="1.0.0" ns0:JMXVersion="1.2.0">[\r][\n]"
 "</SOAP-ENV:Header>[\r][\n]"
 "<SOAP-ENV:Body>[\r][\n]"
 "<SOAP-ENV:Fault>[\r][\n]"
 "<faultcode>SOAP-ENV:Server</faultcode>[\r][\n]"
 "<faultstring>rO0ABXNyAB1vcmcuYXBhY2hlLnNvYX ... AoAAAA3dAAzY29tLmlib"
 "S53cy5tYW5hZ2VtZW50LmNvb ... 5qYXZhdAADcnVueA==</faultstring>[\r][\n]"
 "<faultactor>/fmr-pdk-fe-mapr-ws/services/MaprXmlAdapter</faultactor>[\r][\n]"
 "</SOAP-ENV:Fault>[\r][\n]"
 "[\r][\n]"
 "</SOAP-ENV:Body>[\r][\n]"
 "</SOAP-ENV:Envelope>[\r][\n]"

===== Console output =====
00000020 SystemErr     R java.lang.IllegalArgumentException: null
Server stack trace
JMXTransformException java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2247)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2713)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:775)
      at java.io.ObjectInputStream.<init>(ObjectInputStream.java:291)
      at com.ibm.ws.management.connector.interop.JMXObjectInputStream.<init>(JMXObjectInputStream.java:51)
      at com.ibm.ws.management.connector.soap.GenericSerializer.unmarshall(GenericSerializer.java:209)
      at org.apache.soap.util.xml.XMLJavaMappingRegistry.unmarshall(Unknown Source)
      at com.ibm.ws.management.connector.soap.SOAPUtils.extractSoapCall(SOAPUtils.java:145)
      at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:112)
      at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

Client stack trace

 00000020 SystemErr     R       at com.ibm.ws.management.connector.soap.GenericSerializer.unmarshall(GenericSerializer.java:228)
 00000020 SystemErr     R       at org.apache.soap.util.xml.XMLJavaMappingRegistry.unmarshall(Unknown Source)
[7/5/08 10:57:29:298 EDT] 00000020 SystemErr     R       at com.ibm.ws.management.connector.soap.SOAPUtils.extractSoapCall(SOAPUtils.java:145)
 00000020 SystemErr     R       at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:112)
 00000020 SystemErr     R       at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
 00000020 SystemErr     R       at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
[ 00000020 SystemErr     R       at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
 00000020 SystemErr     R       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)Start Free Trial
[+][-]07.08.2008 at 05:19PM PDT, ID: 21959570

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:09AM PDT, ID: 21963738

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:42AM PDT, ID: 21964138

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 08:00AM PDT, ID: 21964379

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 08:18AM PDT, ID: 21964594

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 08:56AM PDT, ID: 21965125

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 09:02AM PDT, ID: 21965196

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 04:23PM PDT, ID: 21969259

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 04:49AM PDT, ID: 22024343

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SOAP, IBM Websphere Application Server, WebApplications
Tags: SOAP fault
Sign Up Now!
Solution Provided By: marklorenz
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628