Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.io.IOException: Invalid CRLF found in token

 
Manjunath An
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting the below exception while calling the wbe service...

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: java.io.IOException: Invalid CRLF found in token
faultActor: null
faultDetail:

java.io.IOException: Invalid CRLF found in token
at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:189)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:762)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:332)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:738)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:659)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:617)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:452)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:908)
at com.ibm.isclite.webservice.datastore.contextmenu.impl.ContextMenuSoapBindingStub.getLaunchEntries(ContextMenuSoapBindingStub.java:373)
at oti.ClientTest.main(ClientTest.java:151)
Caused by: java.io.IOException: Invalid CRLF found in token
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.parseResponseMessageSync(HttpOutboundServiceContextImpl.java:1536)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.readSyncResponse(HttpOutboundServiceContextImpl.java:616)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.startResponseReadSync(HttpOutboundServiceContextImpl.java:1635)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.finishRequestMessage(HttpOutboundServiceContextImpl.java:1068)
at com.ibm.ws.webservices.engine.transport.http.HttpOutboundChannelConnection.sendSOAPRequest(HttpOutboundChannelConnection.java:299)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:541)
... 11 more

please help!!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am guessing that somewhere in the data the SOAP method is trying to return, an extra CRLF exists and this is making the output mechanism unhappy.

What is the source of the data? Do you have an independent way to look it over?

The stack trace is full of line numbers, can you get the source code to see what it is trying to do at that point?

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!