Re: [AXIS2] - SwA from within .NET
Thanks Adreas, I've read the JIRA and indeed, this is the case here. 2008/10/28 Andreas Veithen <[EMAIL PROTECTED]>: > 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 > <[EMAIL PROTECTED]> 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="<[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] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2] - SwA from within .NET
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 <[EMAIL PROTECTED]> 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="<[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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2] - SwA from within .NET
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]
[AXIS2] - SwA from within .NET
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 --MIMEBoundaryurn_uuid_599C4F77CE6BBB0F1E1225188634230 Content-Type: application/soap+xml; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-ID: <0.urn:uuid:[EMAIL PROTECTED]> http://www.w3.org/2003/05/soap-envelope";>http://mail.ws.ideal.com";>VL12345678-001VGN-SZ1XP/C IT1Hello, I think my serial is invalidTomViaene[EMAIL PROTECTED]Englishalsace.txt --MIMEBoundaryurn_uuid_599C4F77CE6BBB0F1E1225188634230 Content-Type: text/plain Content-Transfer-Encoding: binary Content-ID: INI||3263428|269290659|28206963-001|28206963|0|1|2008/08/20 19:19:11|2009/08/20 18:19:11||tes|Vinkenlaan 31|||3080|Tervuren|BE||003245454545||[EMAIL PROTECTED]|French|tresttresttresttresttresttresttresttresttresttresttresttresttresttrestv||Italian|0|VGN-TZ21MN/N IT1|NOTEBOOK|European|0|FRCher Monsieur testtt|0|0|0|1|0|1 --MIMEBoundaryurn_uuid_599C4F77CE6BBB0F1E1225188634230-Mime+-6QrAohDdOKQb8EAJT0jeiXukIGOz Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-ID: <[EMAIL PROTECTED]> http://mail.ws.ideal.com"; xmlns:Enc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:XS="http://www.w3.org/2001/XMLSchema"; xmlns:XI="http://www.w3.org/2001/XMLSchema-instance";>http://schemas.xmlsoap.org/soap/encoding/";>VL28209751-001JanVGN-SZ1XP/C IT1EnglishVerstuyft[EMAIL PROTECTED]this is the messagec:\temp\alsace.txt ---Mime+-6QrAohDdOKQb8EAJT0jeiXukIGOz Content-Type: application/octetstream Content-Transfer-Encoding: binary Content-ID: <[EMAIL PROTECTED]> INI||3263428|269290659|28206963-001|28206963|0|1|2008/08/20 19:19:11|2009/08/20 18:19:11||tes|Vinkenlaan 31|||3080|Tervuren|BE||003245454545||[EMAIL PROTECTED]|French|tresttresttresttresttresttresttresttresttresttresttresttresttresttrestv||Italian|0|VGN-TZ21MN/N IT1|NOTEBOOK|European|0|FRCher Monsieur testtt|0|0|0|1|0|1 ---Mime+-6QrAohDdOKQb8EAJT0jeiXukIGOz--- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]