[ 
https://issues.apache.org/jira/browse/AXIS2-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462013
 ] 

new user commented on AXIS2-1914:
---------------------------------

Hi,

The error is coming from the targetEndpointaddresss. If I provide a wsdl file 
location or any dummylocation aswell that starts with 'http://' as the prefix 
then it gives the above error. But if I provide a dummy location not starting 
with http then it gives a different error: Cannot infer transport information 
from the URL

But I have rechecked the targetEndpointaddress , it starts with 'http://'and 
its correct. 
Still I am getting the same error. Anyhelp in this will be helpful.

Thanks

> Null Pointer Exception
> ----------------------
>
>                 Key: AXIS2-1914
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1914
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>         Environment: WIndows
>            Reporter: new user
>
> Hi,
> I am trying to access a public webservice using client whose required APIs 
> are generated using axis2 (2-1.1.1 nightly build)WSDL2java.
> NOTE: I know its a very common error that most of the people are 
> experiencing, but I am not getting any concrete answer any were which says in 
> simple language to follow some steps and the problem will be solved.
> Even the documentation provided is not very good. 
> I need to get this resolved urgently otherwise I am thinking of usiing some 
> other Open source webservice framework. Its very sad that lots of people are 
> facing the same problem but nobody is answering properly.
> When I create the classes and access it in client and try to execute , I get 
> the following error:
> java.lang.NullPointerException
>         at 
> org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils
> .java:85)
>         at 
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx
> isOperation.java:163)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to