[ http://issues.apache.org/jira/browse/AXIS2-1914?page=comments#action_12460858 ] new user commented on AXIS2-1914: ---------------------------------
Hi, Can you tell me what all source file should I send across, as the Webservice that is to be accessed is from a restricted site and hence I will be send across only specific files. I will explain in brief the steps followed to access the webservice: Requirement: I need to create a client using Axis2 custom generated client classes to access a Webservice. Environment: I am trying to plugin the client in Web application deployed in Tomcat server. Steps performed: 1) Created client source files using WSDL2Java.bat file provided in Axis2. And provided the WSDL file. 2) Created a client jar file using build.xml provided. 3)Using the custom classes generated in the above step implemented the Webservice invocation class. 4) Tried executing above class, and got the above error. > Null Pointer Exception > ---------------------- > > Key: AXIS2-1914 > URL: http://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: http://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]
