unsubscribe

2009-03-15 Thread Manoj KG



Re: Axis 2: java.lang.NullPointerException at at org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java :85)

2007-06-14 Thread Manoj KG

Thanks for the quick response.
I will try some othe simple examples. Sadly searching for the exception
didn't helped me much


On 6/14/07, Glen Mazza [EMAIL PROTECTED] wrote:


Thankfully, there is rarely much new under the sun, especially for a
newbie.  I would Google parts of your exception message to see if others
had the same problem (and hopefully had gotten an answer.)

For example, the strings org.apache.axis2.AxisFault:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog and  at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java :126)
return a few hits each.  Maybe just Unexpected EOF in prolog and
axis2 would help.

If none of those hits are helpful, then I would give up on your present
coding and instead try to get *any* simple example working.  For
example, can you get any of the quickstart examples working:
http://ws.apache.org/axis2/1_2/quickstartguide.html?  If not, stay there
(and ask questions on that) until you can.  What we're trying to do here
is to see if the problem is with your Axis2 installation *or* with your
sample code, and if you can't get even the quickstart examples working,
that would probably mean your Axis2 installation is the problem.

Glen



Am Donnerstag, den 14.06.2007, 10:47 +0530 schrieb Manoj KG:
 Looking for Help :-(




 On 6/13/07, Manoj KG [EMAIL PROTECTED] wrote:
 Thanks for your tips.
 I generated my stub classes using wsdl2java in command prompt.
 Now I am getting a different exception. Can you guide me how
 to solve this?

 INFO: Discarding unexpected response: HTTP/1.1 100 Continue
 org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
 Unexpected EOF in prolog
  at [row,col {unknown-source}]: [1,0]; nested exception is:
  org.apache.axiom.om.OMException:
 com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
  at [row,col {unknown-source}]: [1,0]
  at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java :126)
  at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java:67)
  at
 org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:252)
  at
 org.apache.axis2.description.OutInAxisOperationClient.execute
 (OutInAxisOperation.java:202)
  at

com.monsanto.teamtrack.w3.gsoap.ttwebservices_wsdl.TtwebservicesStub.CheckVersion
(TtwebservicesStub.java:512)
  at Test.main(Test.java:20)

 I don't whether this is of any significanse. But the XML of
 the SoapEnvelope was
 ?xml version='1.0' encoding='utf-8'?
 soapenv:Envelope
 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header
/
 soapenv:Bodyns1:CheckVersion

xmlns:ns1=urn:ttwebservicesns1:versionTTWebServices-1-0/ns1:version/ns1:CheckVersion/soapenv:Body/soapenv:Envelope

 Thanks in advance
 -Manoj

 On 6/13/07, Ajith Ranabahu [EMAIL PROTECTED] wrote:
 Hi,
 What are the fields in the class CheckDetails ? I have
 a guess that
 the issue could be null values inside you instance of
 CheckDetails so
 please make sure you fill all the values.

 The error message however should be improved if this
 is the case

 Ajith

 On 6/12/07, Glen Mazza [EMAIL PROTECTED]  wrote:
  I would try to see if your problem is IntelliJ
 plugin-related or not.
 
  If you try to create your client stub using Axis2's
 WSDL2Java instead of
  the IntelliJ plugin, do you get the very same error
 message?  Or does it
  work in that case?  Here are the steps I used for
 creating a simple
  Axis2 web service and client, which might help you a
 little bit:
 
 

http://www.jroller.com/page/gmazza?entry=creating_a_web_service_with
 
  Glen
 
 
  Am Dienstag, den 12.06.2007, 15:53 +0530 schrieb
 Manoj KG:
   Hi All,
  
   I am a newbie to Axis 2.
  
  
  
   My goal is to talk to a web service from my java
 code.
  
   The following are the steps I did
  
1. Downloaded Axis 2 Intellij Plugin,
2. Created the stubs for my client from wsdl
 provided by the
   webservice.
3. Wrote a simple program to talk

Re: Axis 2: java.lang.NullPointerException at at org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java :85)

2007-06-13 Thread Manoj KG

Thanks for your tips.
I generated my stub classes using wsdl2java in command prompt. Now I am
getting a different exception. Can you guide me how to solve this?

INFO: Discarding unexpected response: HTTP/1.1 100 Continue
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: Unexpected
EOF in prolog
at [row,col {unknown-source}]: [1,0]; nested exception is:
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java:126)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java:67)
at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:252)
at org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:202)
at
com.monsanto.teamtrack.w3.gsoap.ttwebservices_wsdl.TtwebservicesStub.CheckVersion
(TtwebservicesStub.java:512)
at Test.main(Test.java:20)

I don't whether this is of any significanse. But the XML of the SoapEnvelope
was
?xml version='1.0' encoding='utf-8'?
soapenv:Envelope xmlns:soapenv=
http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header /
soapenv:Bodyns1:CheckVersion
xmlns:ns1=urn:ttwebservicesns1:versionTTWebServices-1-0/ns1:version/ns1:CheckVersion/soapenv:Body/soapenv:Envelope

Thanks in advance
-Manoj

On 6/13/07, Ajith Ranabahu [EMAIL PROTECTED] wrote:


Hi,
What are the fields in the class CheckDetails ? I have a guess that
the issue could be null values inside you instance of CheckDetails so
please make sure you fill all the values.

The error message however should be improved if this is the case

Ajith

On 6/12/07, Glen Mazza [EMAIL PROTECTED] wrote:
 I would try to see if your problem is IntelliJ plugin-related or not.

 If you try to create your client stub using Axis2's WSDL2Java instead of
 the IntelliJ plugin, do you get the very same error message?  Or does it
 work in that case?  Here are the steps I used for creating a simple
 Axis2 web service and client, which might help you a little bit:

 http://www.jroller.com/page/gmazza?entry=creating_a_web_service_with

 Glen


 Am Dienstag, den 12.06.2007, 15:53 +0530 schrieb Manoj KG:
  Hi All,
 
  I am a newbie to Axis 2.
 
 
 
  My goal is to talk to a web service from my java code.
 
  The following are the steps I did
 
   1. Downloaded Axis 2 Intellij Plugin,
   2. Created the stubs for my client from wsdl provided by the
  webservice.
   3. Wrote a simple program to talk to the service. The code looks
  like this.
 
 
 
  MywebservicesStub stub = new MywebservicesStub();
 
  MywebservicesStub.CheckDetails chk = new
  MywebservicesStub.CheckDetails();
 
  chk.CheckDetails(chk);
 
 
 
 
 
 
 
  I am getting an error
 
  java.lang.NullPointerException
 
  at
  org.apache.axis2.description.ClientUtils.inferInTransport(
ClientUtils.java :85)
 
  at
  org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java :163)
 
 
 
 
 
 
 
  Could you all please help me in figuring out if I have missed any
  steps and what is causing this exception?
 
 
 
  -Manoj
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Ajith Ranabahu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Axis 2: java.lang.NullPointerException at at org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java :85)

2007-06-13 Thread Manoj KG

Looking for Help :-(




On 6/13/07, Manoj KG [EMAIL PROTECTED] wrote:


Thanks for your tips.
I generated my stub classes using wsdl2java in command prompt. Now I am
getting a different exception. Can you guide me how to solve this?

INFO: Discarding unexpected response: HTTP/1.1 100 Continue
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: Unexpected
EOF in prolog
 at [row,col {unknown-source}]: [1,0]; nested exception is:
 org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
 at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java :126)
 at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
TransportUtils.java:67)
 at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:252)
 at org.apache.axis2.description.OutInAxisOperationClient.execute (
OutInAxisOperation.java:202)
 at
com.monsanto.teamtrack.w3.gsoap.ttwebservices_wsdl.TtwebservicesStub.CheckVersion
(TtwebservicesStub.java:512)
 at Test.main(Test.java:20)

I don't whether this is of any significanse. But the XML of the
SoapEnvelope was
?xml version='1.0' encoding='utf-8'?
soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header
http://schemas.xmlsoap.org/soap/envelope/%22%3E%3Csoapenv:Header/
soapenv:Bodyns1:CheckVersion
xmlns:ns1=urn:ttwebservicesns1:versionTTWebServices-1-0/ns1:version/ns1:CheckVersion/soapenv:Body/soapenv:Envelope


Thanks in advance
-Manoj

 On 6/13/07, Ajith Ranabahu [EMAIL PROTECTED] wrote:

 Hi,
 What are the fields in the class CheckDetails ? I have a guess that
 the issue could be null values inside you instance of CheckDetails so
 please make sure you fill all the values.

 The error message however should be improved if this is the case

 Ajith

 On 6/12/07, Glen Mazza [EMAIL PROTECTED]  wrote:
  I would try to see if your problem is IntelliJ plugin-related or not.
 
  If you try to create your client stub using Axis2's WSDL2Java instead
 of
  the IntelliJ plugin, do you get the very same error message?  Or does
 it
  work in that case?  Here are the steps I used for creating a simple
  Axis2 web service and client, which might help you a little bit:
 
  http://www.jroller.com/page/gmazza?entry=creating_a_web_service_with
 
  Glen
 
 
  Am Dienstag, den 12.06.2007, 15:53 +0530 schrieb Manoj KG:
   Hi All,
  
   I am a newbie to Axis 2.
  
  
  
   My goal is to talk to a web service from my java code.
  
   The following are the steps I did
  
1. Downloaded Axis 2 Intellij Plugin,
2. Created the stubs for my client from wsdl provided by the
   webservice.
3. Wrote a simple program to talk to the service. The code
 looks
   like this.
  
  
  
   MywebservicesStub stub = new MywebservicesStub();
  
   MywebservicesStub.CheckDetails chk = new
   MywebservicesStub.CheckDetails ();
  
   chk.CheckDetails(chk);
  
  
  
  
  
  
  
   I am getting an error
  
   java.lang.NullPointerException
  
   at
   org.apache.axis2.description.ClientUtils.inferInTransport(
 ClientUtils.java :85)
  
   at
   org.apache.axis2.description.OutInAxisOperationClient.execute (
 OutInAxisOperation.java :163)
  
  
  
  
  
  
  
   Could you all please help me in figuring out if I have missed any
   steps and what is causing this exception?
  
  
  
   -Manoj
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Ajith Ranabahu

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





Axis 2: java.lang.NullPointerException at at org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java :85)

2007-06-12 Thread Manoj KG

Hi All,

I am a newbie to Axis 2.



My goal is to talk to a web service from my java code.

The following are the steps I did

  1. Downloaded Axis 2 Intellij Plugin,
  2. Created the stubs for my client from wsdl provided by the
  webservice.
  3. Wrote a simple program to talk to the service. The code looks like
  this.



   MywebservicesStub stub = new MywebservicesStub();

   MywebservicesStub.CheckDetails chk = new
MywebservicesStub.CheckDetails();

   chk.CheckDetails(chk);







I am getting an error

java.lang.NullPointerException

   at org.apache.axis2.description.ClientUtils.inferInTransport(
ClientUtils.java :85)

   at org.apache.axis2.description.OutInAxisOperationClient.execute
(OutInAxisOperation.java :163)







Could you all please help me in figuring out if I have missed any steps and
what is causing this exception?



-Manoj