Skip to Content
0
Former Member
Mar 10, 2009 at 08:34 PM

SOAP Login Request Problem

223 Views

Hi,

I have been trying to send a login request via Pear SOAP, without success. Any ideas about what is wrong with the request?

The Request:

POST /dswsbobje/services/Session HTTP/1.0

User-Agent: PEAR-SOAP 0.12.0-beta

Host: 192.168.130.52

Content-Type: text/xml; charset=UTF-8

Content-Length: 615

SOAPAction: "http://session.dsws.businessobjects.com/2007/06/01/login"

Connection: close

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:ns4="http://session.dsws.businessobjects.com/2007/06/01">

<SOAP-ENV:Body>

<ns4:login>

<credential xsi:type="EnterpriseCredential" AuthType="secEnterprise" Login="Administrator" Password="Password" Domain="ptgdw3" ReportedHostName="ptgdw3:6400"/>

<version></version></ns4:login>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

... and the response:

HTTP/1.1 500 Internal Server Error

Server: Apache-Coyote/1.1

Content-Type: text/xml;charset=UTF-8

Date: Wed, 04 Mar 2009 17:52:11 GMT

Connection: close

soapenv:Server.generalException java.lang.NullPointerException http://schemas.xmlsoap.org/soap/envelope/"> soapenv:Server.generalException java.lang.NullPointerException xmlns=" http://dsws.businessobjects.com/2007/06/01"> xmlns="">S2 login exception (Error: WSE 99998) http://session.dsws.businessobjects.com/2007/06/01/login xmlns="">java.lang.NullPointerException

at com.businessobjects.dsws.session.SessionSkeleton.login(Unknown Source)&#xd;

at com.businessobjects.dsws.session.SessionMessageReceiverInOut.invokeBusinessLogic(Unknown Source)&#xd;

at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)&#xd;

at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)&#xd;

at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)&#xd;

at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)&#xd;

at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)&#xd;

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)&#xd;

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)&#xd;

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)&#xd;

at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source)&#xd;

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)&#xd;

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)&#xd;

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)&#xd;

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)&#xd;

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)&#xd;

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)&#xd;

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)&#xd;

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)&#xd;

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)&#xd;

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)&#xd;

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)&#xd;

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)&#xd;

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)&#xd;

at java.lang.Thread.run(Thread.java:595)&#xd;