Hi,
We have developed some webservices in OracleAS 10g. I can check from the
axis2 web administration console that all of them are depoloyed successfully
and I can view their WSDL. I auto-generated axis2 java client to access
those webservices. when trying to run them, I got the following exception. I
really appreciate your urgent help.

 Nov 19, 2007 4:09:30 PM org.apache.axis2.builder.BuilderUtil getSOAPBuilder
INFO: OMException in getSOAPBuilder
org.apache.axiom.soap.SOAPProcessingException: First Element must contain
the local name, Envelope , but found HTML
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:219)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:177)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:163)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:161)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:110)
        at
org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:609)
        at
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:178)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:87)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
ae.ead.egovernment.core.webservice.LookupDataServiceStub.getCountries(LookupDataServiceStub.java:385)
        at
ae.ead.egovernment.core.webservice.TestClient.main(TestClient.java:19)
Nov 19, 2007 4:09:30 PM org.apache.axis2.builder.BuilderUtil getSOAPBuilder
INFO: Remaining input stream :[]
Exception in thread "main" org.apache.axis2.AxisFault: First Element must
contain the local name, Envelope , but found HTML
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:89)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
ae.ead.egovernment.core.webservice.LookupDataServiceStub.getCountries(LookupDataServiceStub.java:385)
        at
ae.ead.egovernment.core.webservice.TestClient.main(TestClient.java:19)
Caused by: org.apache.axiom.soap.SOAPProcessingException: First Element must
contain the local name, Envelope , but found HTML
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:219)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:177)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:163)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:161)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:110)
        at
org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:609)
        at
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:178)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:87)
        ... 6 more

-- 
View this message in context: 
http://www.nabble.com/First-Element-must-contain-the-local-name%2C-Envelope-%2C-but-found-HTML-tf4836093.html#a13835421
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to