I missed this before, someone has already filed a bug report on this one.

http://issues.apache.org/jira/browse/AXIS2-266

The issue seems to be marked as resolved as this is a XMLBeans bug. Some clarification might be helpful here.

On 8/31/06, robert lazarski <[EMAIL PROTECTED]> wrote:
There was some bugs with xmlbeans in the 1.0 that have been fixed
already. Can you try a nightly and if you have problems still, file a
jira and upload you wsdl?

http://people.apache.org/dist/axis2/nightly/

HTH,
Robert
http://www.braziloutsource.com/

On 8/30/06, Sidharth Kuruvila < [EMAIL PROTECTED]> wrote:
> Following the advice on
> http://www.pocketsoap.com/weblog/2006/05/1623.html on
> getting the salesforce.com apis to work with axis2
>
> I generated the source using
> WSDL2Java.bat -uri enterprise.wsdl  -d xmlbeans
>
> The method for Logging in works fine but when it comes to executing any
> other method
>
> I get an IllegalStateException
>
> org.apache.axiom.om.OMException: java.lang.IllegalStateException
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next (StAXOMBuilder.java:206)
>         at
> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement
> (OMDocumentImpl.java:144)
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement (StAXOMBuilder.java:322)
>         at
> org.apache.axis2.SforceServiceStub.toOM(SforceServiceStub.java:5258)
>         at
> org.apache.axis2.SforceServiceStub.toEnvelope(SforceServiceStub.java:5269)
>         at
> org.apache.axis2.SforceServiceStub.describeGlobal(SforceServiceStub.java:3295)
>         at SforceDataReader.main(SforceDataReader.java :46)
> Caused by: java.lang.IllegalStateException
>         at
> org.apache.xmlbeans.impl.store.Jsr173$XMLStreamReaderForString.next(Jsr173.java:1110)
>         at
> org.apache.xmlbeans.impl.store.Jsr173$SyncedJsr173.next(
> Jsr173.java:1138)
>         at
> org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:68)
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:123)
>         ... 6 more
>
> Looking at the source for xmlbeans
> Jsr173$XMLStreamReaderForString.next will always throw the
> exception.
>
>
> --
> I am but a man.

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




--
I am but a man.

Reply via email to