Hi,

I've a simple client axis, and I should want log the HTTPS messages.

I put a client-config.wsdd in my work dir, but nothing works, no log. My
client-config.wsdd is
http://www.google.com/support/adwordsapi/bin/answer.py?answer=15137&topic=237

My client :

    public static void main(String[] args) throws Exception
    {
      SomeStub stub;
      SomeStub.WMRequest request;
      SomeStub.WMReply reply;

      stub = new SomeStub("https://...";);
      request = new SomeStub.WMRequest();
      request.set...
      reply = stub.Operation(request);
System.out.println("reply="+reply);
    }

And I get :

25 avr. 2008 08:30:27 org.apache.axis2.builder.BuilderUtil getSOAPBuilder
INFO: OMException in getSOAPBuilder
org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException:
ParseError at [row,col]:[1,2]
Message: Content is not allowed in prolog.
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:161)
        at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:110)
...
Caused by: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[1,2]
Message: Content is not allowed in prolog.
        at
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:588)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153)
        ... 12 more

I suppose my URL is bad, but I should want prouve it.

Thanks for your help.

[axis 2-1.3]
[newbie here]

Reply via email to