You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Ramkumar R <ra...@gmail.com> on 2009/05/22 12:32:41 UTC

[1.5] OMException in getSOAPBuilder - TUSCANY-3046

Hi All,

TUSCANY-3046 was raised initially with spring issues, the spring issues are
now seem to be resolved
and I see a different error msg as shown below...

[java] - OMException in getSOAPBuilder
     [java] org.apache.axiom.soap.SOAPProcessingException: First Element
must contain the local name, Envelope , but found html
     [java] at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:251)

     [java] org.osoa.sca.ServiceRuntimeException:
org.apache.axis2.AxisFault: First Element must contain the local name,
Envelope , but found html
     [java] at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:209)

     [java] at
org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateFault(MediatorImpl.java:317)

     [java] at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElement(StAXSOAPModelBuilder.java:191)

     [java] at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)

     [java] at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:172)
     [java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:309)

     [java] at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:156)

     [java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156)

     [java] at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:105)

     [java] at $Proxy18.getQuote(Unknown Source)
     [java] at
org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:677)
     [java] at
bigbank.account.AccountServiceImpl.getAccountReport(AccountServiceImpl.java:75)

     [java] at
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:182)

     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)

     [java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

     [java] at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:88)

     [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

     [java] at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:353)

     [java] at java.lang.reflect.Method.invoke(Method.java:585)
     [java] at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)

     [java] at
org.apache.tuscany.sca.implementation.spring.invocation.SpringInvoker.doInvoke(SpringInvoker.java:97)


     [java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)

     [java] at
org.apache.tuscany.sca.implementation.spring.invocation.SpringInvoker.invoke(SpringInvoker.java:113)

     [java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
     [java] at
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)

     [java] at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axis2BindingInvoker.java:172)

     [java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:309)

     [java] at java.security.AccessController.doPrivileged(Native Method)
     [java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156)

     [java] at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:170)

     [java] at $Proxy14.getAccountReport(Unknown Source)
     [java] at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:124)

     [java] at bigbank.client.BigBankClient.main(BigBankClient.java:41)
     [java] at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:67)


Anyone has ideas about this error?

-- 
Thanks & Regards,
Ramkumar Ramalingam

Re: [1.5] OMException in getSOAPBuilder - TUSCANY-3046

Posted by Ramkumar R <ra...@gmail.com>.
Hi Ant,

Thanks for the hint, I have fixed the issue now at r777489 in 1.5.

On Fri, May 22, 2009 at 4:35 PM, ant elder <an...@gmail.com> wrote:

> On Fri, May 22, 2009 at 11:32 AM, Ramkumar R <ra...@gmail.com>
> wrote:
> > Hi All,
> >
> > TUSCANY-3046 was raised initially with spring issues, the spring issues
> are
> > now seem to be resolved
> > and I see a different error msg as shown below...
> >
> > [java] - OMException in getSOAPBuilder
> >      [java] org.apache.axiom.soap.SOAPProcessingException: First Element
> > must contain the local name, Envelope , but found html
>
> From "First Element must contain the local name, Envelope , but found
> html " i'd guess is that some service endpoint is using a different
> path than a WS reference is using so the request returns an error
> instead of a SOAP message.
>
>   ...ant
>



-- 
Thanks & Regards,
Ramkumar Ramalingam

Re: [1.5] OMException in getSOAPBuilder - TUSCANY-3046

Posted by ant elder <an...@gmail.com>.
On Fri, May 22, 2009 at 11:32 AM, Ramkumar R <ra...@gmail.com> wrote:
> Hi All,
>
> TUSCANY-3046 was raised initially with spring issues, the spring issues are
> now seem to be resolved
> and I see a different error msg as shown below...
>
> [java] - OMException in getSOAPBuilder
>      [java] org.apache.axiom.soap.SOAPProcessingException: First Element
> must contain the local name, Envelope , but found html

>From "First Element must contain the local name, Envelope , but found
html " i'd guess is that some service endpoint is using a different
path than a WS reference is using so the request returns an error
instead of a SOAP message.

   ...ant