Problem connecting SOAP-Connector
| Newsgroups | gmane.comp.java.mx4j.user |
|---|---|
| Message-ID | <14199290.155021162569815119.JavaMail.servlet@kundenserver> |
I got a problem connecting SOAP-Connector. My goal is to use the connector for showing runtime-information in Adobe Flex.
I'm using MX4J inside SAP WebAS Server. I deployed Axis and see that the ConnectorServer is running. If I connect to the Server by a Javaclient I get this Exception:
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at mx4j.tools.remote.soap.SOAPClientInvoker.connect(SOAPClientInvoker.java:67)
at mx4j.tools.remote.http.HTTPConnector.doConnect(HTTPConnector.java:51)
at mx4j.tools.remote.AbstractJMXConnector.connect(AbstractJMXConnector.java:70)
at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
at com.sap.promise.test.Client.main(Client.java:35)
If I connect by the Eclipse Webservice Explorer I get this:
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>Could not find mandatory header connectionId</faultstring>
- <detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">DRSD00146892A</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
It woul be nice if someone could help me, I'm trying to solve the problem since one week.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642