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="<[EMAIL PROTECTED]>"
and the java header is giving: Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_655D452D26B01776231225201271308; type="application/soap+xml"; start="0.urn:uuid:[EMAIL PROTECTED]"; 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 <[EMAIL PROTECTED]>: > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
