I can't, unfortunately. To do so would require me to expose my username and password on this WS's server. I did try changing them to different values and then I got a normal "unknown user" type of message. Perhaps this provides some clues?


keith chapman wrote:
Could you post your request and response please.

Thanks,
Keith.

On Thu, Oct 2, 2008 at 10:30 PM, Steve Cohen <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I have now hand-built my Axis client with all needed headers.  I
    notice the following error code which makes no sense to me:

    Exception in thread "main" org.apache.axis2.AxisFault:
    com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character
    'E' (code 69) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
      at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
      at
    
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:90)
      at
    
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:353)
      at
    
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
      at
    
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
      at
    org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at
    org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
      at
    org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
      at MyClient.main(MyClient.java:53)
    Caused by: org.apache.axiom.om.OMException:
    com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character
    'E' (code 69) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
      at
    org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249)
      at
    
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:156)
      at
    
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:105)
      at
    org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:677)
      at
    
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:182)
      at
    
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
      at
    
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:88)
      ... 7 more
    Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException:
    Unexpected character 'E' (code 69) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
      at
    com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
      at
    
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
      at
    com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
      at
    
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:506)
      at
    org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:161)
      ... 13 more


    There are only 4 UpperCase E characters in the packet:  in the
    opening and closing <soapenv:Envelope> tags and two more in
    various text elements.

    What is Axis trying to tell me here?  I can't make head or tail of it.

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




--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


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

Reply via email to