Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 21589 invoked from network); 12 Jun 2008 13:45:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 13:45:52 -0000 Received: (qmail 49480 invoked by uid 500); 12 Jun 2008 13:45:46 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 49371 invoked by uid 500); 12 Jun 2008 13:45:46 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 49360 invoked by uid 99); 12 Jun 2008 13:45:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 06:45:46 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.183] (HELO moutng.kundenserver.de) (212.227.126.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 13:44:54 +0000 Received: from [192.168.1.101] (91-65-180-139-dynip.superkabel.de [91.65.180.139]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1K6n6x3hGc-0004Gn; Thu, 12 Jun 2008 15:45:08 +0200 Message-ID: <48512863.7090200@heigl-service.de> Date: Thu, 12 Jun 2008 15:45:07 +0200 From: =?ISO-8859-15?Q?=22Christoph_M=2E_Pfl=FCgler=22?= User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: NullpointerException when splittling WSDL References: <4850179F.80000@heigl-service.de> In-Reply-To: <4850179F.80000@heigl-service.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX1/hYf8AVTvTka525omVBSNkZBjVK9khKlrsuQP 6j4Iecyxx61rVKYKYdGr6C2DvSHwFAXT7cGaV0roaplXUbfjWz p1pqAnwuFvidIqwWRB1jIrOcfQSs6hpfFHxR34wt2NnoqAQBSv Mxg== X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ... the solution is to put wsdl:binding and wsdl:portType in the same fragment. Is this an AXIS2 specific restriction?? I CANNOT find such a restriction in the WSDL standard. Cheers. Christoph M. Pfl�gler schrieb: | Hi everybody, | | I am actually trying to build a small WebService from a wsdl. If I use | the WSDL as one file, I don't have problems. But when I split this | WSDL-file into 3 ones, I get a NullPointerException (see error message | below) when calling the WebService. | | So my first question is: is it possible to split a WSDL into more files | with AXIS2? I could not find information on that except that the WSDL | standard allows me to import other WSDL definitons. | | And, if the first one is yes, what could be the problem with my service? | | I generate the Skeleton using WSDL2Java, add some logic and build the | .aar archive with the generated ant script. | | Any help would be appreciated! | | Regards, | Christoph | | | ##### ERROR ##### | | 2008-06-11 19:48:17,206 [http-8080-1] ERROR | org.apache.axis2.transport.http.AxisServlet - | java.lang.NullPointerException | at | org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:122) | | at org.apache.axis2.engine.Phase.invoke(Phase.java:317) | at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) | at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) | at | org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) | | at | org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | | at | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | | at | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) | | at | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | | at | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | | at | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | | at | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | | at | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) | at | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | | at | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | | | | ##### Main WSDL ##### | | | | | ~ | ~ | | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | | | | ##### seller_common.wsdl ##### | | | | | | | | ~ | ~ | ~ | ~ | ~ | ~ | | | | | | | | | | ##### seller_common_msgs.wsdl ##### | | | | ~ | ~ | | | | | | | | | | | | | | | | | | | | | ~ | ~ | | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | | | | ~ | - --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIUShj0Do4wUHmzBsRApPXAJwNhgDC2RObseI/CaL5fkO+XlHLSQCdHKSE UdYNTW8Fxmj3CuWphMRbkPo= =APzD -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org