Hi there,
we tried to port our (working) service from 0.95 to 1.0, but encountered some
problems. After calling WSDL2Java once for the service and once for the client
(in the same manner as for 0.95) we ended up with a non-working client.
We also get a warning from log4j, is this something to be worried about?
log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.impl.builder.StAXOMBuilder).
log4j:WARN Please initialize the log4j system properly.
The wsdl is attached. Our error message is below. We think it must be a
server-related problem, so it's probably due to the 1.0RC1 update.
Our service is called SVMHCService, with the method predictEpitopes.
Please let us know if you have similar problems porting your service or what we
can try to work around this.
Thanks for your time,
-- Sebi
org.apache.axis2.AxisFault: null; nested exception is:
java.lang.NullPointerException
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:275)
at
org.apache.axis2.SVMHCServiceStub.predictEpitopes(SVMHCServiceStub.java:112)
at org.apache.axis2.Client.main(Client.java:61)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: null; nested
exception is:
java.lang.NullPointerException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
org.apache.axis2.SVMHCServiceMessageReceiverInOut.invokeBusinessLogic(SVMHCServiceMessageReceiverInOut.java:63)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:297)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at
org.apache.axis2.SVMHCServiceSkeleton.predictEpitopes(SVMHCServiceSkeleton.java:30)
at
org.apache.axis2.SVMHCServiceMessageReceiverInOut.invokeBusinessLogic(SVMHCServiceMessageReceiverInOut.java:50)
... 20 more
at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
... 3 more
<wsdl:definitions xmlns:ns1="http://org.apache.axis2/xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www-bs.informatik.uni-tuebingen.de/compas"
targetNamespace="http://www-bs.informatik.uni-tuebingen.de/compas">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns1="http://org.apache.axis2/xsd"
targetNamespace="http://org.apache.axis2/xsd"
elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:element name="predictEpitopesRequest">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="sequence"/>
<xs:element type="xs:string" name="allele"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="predictEpitopesResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" type="xs:integer"
name="StartPositions" maxOccurs="unbounded"/>
<xs:element minOccurs="0" type="xs:double"
name="Scores" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="predictEpitopesResponseMessage">
<wsdl:part name="part1" element="ns1:predictEpitopesResponse"/>
</wsdl:message>
<wsdl:message name="predictEpitopesRequestMessage">
<wsdl:part name="part1" element="ns1:predictEpitopesRequest"/>
</wsdl:message>
<wsdl:portType name="SVMHCServicePort">
<wsdl:operation name="predictEpitopes">
<wsdl:input message="tns:predictEpitopesRequestMessage"/>
<wsdl:output message="tns:predictEpitopesResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SVMHCServiceBinding" type="tns:SVMHCServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
<wsdl:operation name="predictEpitopes">
<soap:operation soapAction="predictEpitopes" style="document"/>
<wsdl:input>
<soap:body use="literal"
namespace="http://www-bs.informatik.uni-tuebingen.de/compas"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"
namespace="http://www-bs.informatik.uni-tuebingen.de/compas"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SVMHCService">
<wsdl:port name="SVMHCServicePortType0"
binding="tns:SVMHCServiceBinding">
<soap:address
location="http://localhost/axis2/services/SVMHCService:localhost/axis2/services/SVMHCService"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>