axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen" <andreas.veit...@gmail.com>
Subject Re: [AXIS2] - SwA from within .NET
Date Tue, 28 Oct 2008 14:02:41 GMT
Looks like AXIS2-3373 which was fixed some time ago (probably for 1.4.1).

Andreas

On Tue, Oct 28, 2008 at 14:43, Jan Verstuyft
<janverstuyft@googlemail.com> wrote:
> I have some more information.  it seems that the header from a .NET
> example is giving
> Content-Type: Multipart/Related;
> boundary="-Mime+-KbZUcDkM0rsh4LtnfuVelM7ltuQS"; type="text/xml";
> start="<C57F82F7-BFEE-4D2B-8286-AECED1049420@swa.pocketsoap.com>"
>
> and the java header is giving:
> Content-Type: multipart/related;
> boundary=MIMEBoundaryurn_uuid_655D452D26B01776231225201271308;
> type="application/soap+xml";
> start="0.urn:uuid:655D452D26B01776231225201271309@apache.org";
>
> you can see that in the .NET it is Multipart/Related and in Java it is
> multipart/related.
>
>
> is there any reason why only the lowercase is allowed?
>
> 2008/10/28 Jan Verstuyft <janverstuyft@googlemail.com>:
>> Hello,
>>
>> we've created a Java Webservice (within axis2 1.3) that can receive a
>> attachment.
>>
>> we have a java client that works (created
>> with axis1.3)
>>
>> But when I want to create a .NET client I receive the following error
>> on the server:
>> java.lang.NullPointerException
>>       at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:156)
>>       at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
>>       at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:270)
>>       at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>       at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
>>       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
>>       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
>>       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
>>       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
>>       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
>>       at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
>>       at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
>>       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
>>
>> I've compared the two SOAP messages (see attachments) and do not see
>> any fundamental differences. Only the Content-type of the soap xml
>> message is different.
>>
>> Has anyone a clue?  The .NET client is created with PocketSOAP.
>> Or has anyone an example of a SwA for .NET?
>>
>> Kind regards
>>
>> Jan Verstuyft
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message