RE: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)
I just added it. Thanks, Ted From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 6:19 PMTo: axis-user@ws.apache.orgSubject: Re: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681) Dims just filed a JIRA about this issue a day or two ago. http://issues.apache.org/jira/browse/AXIS2-837 Please add your use cases to the JIRA.Thanks, Anne On 6/23/06, Ted Jones < [EMAIL PROTECTED]> wrote: Martin, Here is the WSDL:http://com.widgets/test" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.widgets/test" xmlns:schema1="http://www.widgets.com/bqt_Output"> http://com.widgets/test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> http://www.widgets.com/bqt_Output" schemaLocation="http://chicago:8080/test/servlet/ArtifactDocumentService/test/bqt_Output.xsd" /> Input message for operation bqt_SMALLA/getSMALLA. Output message for operation bqt_SMALLA/getSMALLA. http://schemas.xmlsoap.org/soap/http" /> http://chicago:8080/test/services/service" /> Here is the WSDD: http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> I am executing a web service with no input parameters so the SOAP body is empty like so: http://schemas.xmlsoap.org/soap/envelope/"> I am getting an NPE returned before I even hit my Web Service, so I am assuming the exception is happening in Axis somewhere (I'm not seeing a stack trace). Here is the response: http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> soapenv:Server.userException java.lang.NullPointerException I get this using Coral and Systinet as my clients. When I generate an Axis client, I do not get an NPE but I get a node added to my body with the operation name in it (which I don't want to see as my logic depends on the body to be empty when no inputs are provided). Any help would be greatly appreciated! Thanks,Ted Jones-----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] ]Sent: Friday, June 23, 2006 2:20 PMTo: axis-user@ws.apache.org Subject: Re: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)Good Afternoon Ted-Could we see the WSDL?Thanks,MartinThis email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message -From: "Ted Jones" <[EMAIL PROTECTED]>To: < axis-user@ws.apache.org>Sent: Friday, June 23, 2006 2:30 PMSubject: RE: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)IP VP,I encountered the same thing (or something very similar) with Axis 1.3. I was hoping an upgrade to Axis2 would fix my problem. Have you had any luck resolving? Thanks,Ted Jones-Original Message-From: ip vp [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 22, 2006 4:28 PM To: axis-user@ws.apache.orgSubject: NullPointerException inMessageContext.setEnvelope(MessageContext.java :681)Importance: HighHi all,I am trying to call a comercial partner webservice thats return a string and do not need input parameters.Based on User guide ( Client for echoVoid Operation)I am doing the followig:- generating java code based on wsdl, using ecplise plugin.- did a very simple client whit the following code:GeneratedStubClass myStub = new GeneratedStubClass(); System.out.println(myStub.MethodWithOperationName());I am getting the following error:java.lang.NullPointerExceptionatorg.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java :681)This error occurs with all variants of WSDL2JAVA configuration: with and without databinds, using get, using post, using soap...What am I doing wrong ?thanks in advance IP VP_ Voc�
Re: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)
Dims just filed a JIRA about this issue a day or two ago. http://issues.apache.org/jira/browse/AXIS2-837 Please add your use cases to the JIRA.Thanks, AnneOn 6/23/06, Ted Jones < [EMAIL PROTECTED]> wrote: Martin, Here is the WSDL: http://com.widgets/test" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.widgets/test" xmlns:schema1="http://www.widgets.com/bqt_Output"> http://com.widgets/test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> http://www.widgets.com/bqt_Output" schemaLocation="http://chicago:8080/test/servlet/ArtifactDocumentService/test/bqt_Output.xsd" /> Input message for operation bqt_SMALLA/getSMALLA. Output message for operation bqt_SMALLA/getSMALLA. http://schemas.xmlsoap.org/soap/http" /> http://chicago:8080/test/services/service" /> Here is the WSDD: http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> I am executing a web service with no input parameters so the SOAP body is empty like so: http://schemas.xmlsoap.org/soap/envelope/"> I am getting an NPE returned before I even hit my Web Service, so I am assuming the exception is happening in Axis somewhere (I'm not seeing a stack trace). Here is the response: http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> soapenv:Server.userException java.lang.NullPointerException I get this using Coral and Systinet as my clients. When I generate an Axis client, I do not get an NPE but I get a node added to my body with the operation name in it (which I don't want to see as my logic depends on the body to be empty when no inputs are provided). Any help would be greatly appreciated!Thanks,Ted Jones -Original Message-From: Martin Gainty [mailto:[EMAIL PROTECTED] ]Sent: Friday, June 23, 2006 2:20 PMTo: axis-user@ws.apache.org Subject: Re: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)Good Afternoon Ted-Could we see the WSDL?Thanks,MartinThis email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message -----From: "Ted Jones" <[EMAIL PROTECTED]>To: < axis-user@ws.apache.org>Sent: Friday, June 23, 2006 2:30 PMSubject: RE: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)IP VP,I encountered the same thing (or something very similar) with Axis 1.3. I was hoping an upgrade to Axis2 would fix my problem. Have you had any luck resolving? Thanks,Ted Jones-Original Message-From: ip vp [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 22, 2006 4:28 PM To: axis-user@ws.apache.orgSubject: NullPointerException inMessageContext.setEnvelope(MessageContext.java :681)Importance: HighHi all,I am trying to call a comercial partner webservice thats return a string and do not need input parameters.Based on User guide ( Client for echoVoid Operation) I am doing the followig:- generating java code based on wsdl, using ecplise plugin.- did a very simple client whit the following code:GeneratedStubClass myStub = new GeneratedStubClass(); System.out.println(myStub.MethodWithOperationName());I am getting the following error:java.lang.NullPointerExceptionatorg.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java :681)This error occurs with all variants of WSDL2JAVA configuration: with and without databinds, using get, using post, using soap...What am I doing wrong ?thanks in advance IP VP_Voc� sabe em qual Copa o Pel� vestiu a camisa 10 pela 1a. vez? http://copa.br.msn.com/extra/curiosidades/1958/-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: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)
Martin, Here is the WSDL:http://com.widgets/test" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.widgets/test" xmlns:schema1="http://www.widgets.com/bqt_Output"> http://com.widgets/test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> http://www.widgets.com/bqt_Output" schemaLocation="http://chicago:8080/test/servlet/ArtifactDocumentService/test/bqt_Output.xsd" /> Input message for operation bqt_SMALLA/getSMALLA. Output message for operation bqt_SMALLA/getSMALLA. http://schemas.xmlsoap.org/soap/http" /> http://chicago:8080/test/services/service" /> Here is the WSDD:http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> I am executing a web service with no input parameters so the SOAP body is empty like so: http://schemas.xmlsoap.org/soap/envelope/"> I am getting an NPE returned before I even hit my Web Service, so I am assuming the exception is happening in Axis somewhere (I'm not seeing a stack trace). Here is the response: http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> soapenv:Server.userException java.lang.NullPointerException I get this using Coral and Systinet as my clients. When I generate an Axis client, I do not get an NPE but I get a node added to my body with the operation name in it (which I don't want to see as my logic depends on the body to be empty when no inputs are provided). Any help would be greatly appreciated!Thanks,Ted Jones-Original Message-From: Martin Gainty [mailto:[EMAIL PROTECTED]]Sent: Friday, June 23, 2006 2:20 PMTo: axis-user@ws.apache.orgSubject: Re: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)Good Afternoon Ted-Could we see the WSDL?Thanks,MartinThis email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you.- Original Message -From: "Ted Jones" <[EMAIL PROTECTED]>To: Sent: Friday, June 23, 2006 2:30 PMSubject: RE: NullPointerException inMessageContext.setEnvelope(MessageContext.java:681)IP VP,I encountered the same thing (or something very similar) with Axis 1.3. I was hoping an upgrade to Axis2 would fix my problem. Have you had any luck resolving?Thanks,Ted Jones-Original Message-From: ip vp [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 22, 2006 4:28 PMTo: axis-user@ws.apache.orgSubject: NullPointerException inMessageContext.setEnvelope(MessageContext.java:681)Importance: HighHi all,I am trying to call a comercial partner webservice thats return a string and do not need input parameters.Based on User guide ( Client for echoVoid Operation)I am doing the followig:- generating java code based on wsdl, using ecplise plugin.- did a very simple client whit the following code:GeneratedStubClass myStub = new GeneratedStubClass();System.out.println(myStub.MethodWithOperationName());I am getting the following error:java.lang.NullPointerExceptionatorg.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java:681)This error occurs with all variants of WSDL2JAVA configuration: with and without databinds, using get, using post, using soap...What am I doing wrong ?thanks in advanceIP VP_Você sabe em qual Copa o Pelé vestiu a camisa 10 pela 1a. vez?http://copa.br.msn.com/extra/curiosidades/1958/-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: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)
Good Afternoon Ted- Could we see the WSDL? Thanks, Martin This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Ted Jones" <[EMAIL PROTECTED]> To: Sent: Friday, June 23, 2006 2:30 PM Subject: RE: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681) IP VP, I encountered the same thing (or something very similar) with Axis 1.3. I was hoping an upgrade to Axis2 would fix my problem. Have you had any luck resolving? Thanks, Ted Jones -Original Message- From: ip vp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 4:28 PM To: axis-user@ws.apache.org Subject: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681) Importance: High Hi all, I am trying to call a comercial partner webservice thats return a string and do not need input parameters. Based on User guide ( Client for echoVoid Operation) I am doing the followig: - generating java code based on wsdl, using ecplise plugin. - did a very simple client whit the following code: GeneratedStubClass myStub = new GeneratedStubClass(); System.out.println(myStub.MethodWithOperationName()); I am getting the following error: java.lang.NullPointerException at org.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java:681) This error occurs with all variants of WSDL2JAVA configuration: with and without databinds, using get, using post, using soap... What am I doing wrong ? thanks in advance IP VP _ Você sabe em qual Copa o Pelé vestiu a camisa 10 pela 1a. vez? http://copa.br.msn.com/extra/curiosidades/1958/ - 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: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)
Hi Ted Jones, Thanks for your response. I am already using AXIS2. I did not solve this problem yet . Any suggestions are welcome. regards IP VP From: "Ted Jones" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: Subject: RE: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681) Date: Fri, 23 Jun 2006 13:30:34 -0500 IP VP, I encountered the same thing (or something very similar) with Axis 1.3. I was hoping an upgrade to Axis2 would fix my problem. Have you had any luck resolving? Thanks, Ted Jones -Original Message- From: ip vp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 4:28 PM To: axis-user@ws.apache.org Subject: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681) Importance: High Hi all, I am trying to call a comercial partner webservice thats return a string and do not need input parameters. Based on User guide ( Client for echoVoid Operation) I am doing the followig: - generating java code based on wsdl, using ecplise plugin. - did a very simple client whit the following code: GeneratedStubClass myStub = new GeneratedStubClass(); System.out.println(myStub.MethodWithOperationName()); I am getting the following error: java.lang.NullPointerException at org.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java:681) This error occurs with all variants of WSDL2JAVA configuration: with and without databinds, using get, using post, using soap... What am I doing wrong ? thanks in advance IP VP _ - 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] _ Você sabe desde que ano as camisas de futebol são numeradas? http://copa.br.msn.com/extra/curiosidades/futebol2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)
IP VP, I encountered the same thing (or something very similar) with Axis 1.3. I was hoping an upgrade to Axis2 would fix my problem. Have you had any luck resolving? Thanks, Ted Jones -Original Message- From: ip vp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 4:28 PM To: axis-user@ws.apache.org Subject: NullPointerException in MessageContext.setEnvelope(MessageContext.java:681) Importance: High Hi all, I am trying to call a comercial partner webservice thats return a string and do not need input parameters. Based on User guide ( Client for echoVoid Operation) I am doing the followig: - generating java code based on wsdl, using ecplise plugin. - did a very simple client whit the following code: GeneratedStubClass myStub = new GeneratedStubClass(); System.out.println(myStub.MethodWithOperationName()); I am getting the following error: java.lang.NullPointerException at org.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java:681) This error occurs with all variants of WSDL2JAVA configuration: with and without databinds, using get, using post, using soap... What am I doing wrong ? thanks in advance IP VP _ Você sabe em qual Copa o Pelé vestiu a camisa 10 pela 1a. vez? http://copa.br.msn.com/extra/curiosidades/1958/ - 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]