axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gul Onural (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1556) DeploymentException with segmented wsdl files
Date Tue, 31 Oct 2006 16:54:41 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1556?page=comments#action_12445947 ] 
            
Gul Onural commented on AXIS2-1556:
-----------------------------------


I have tried the fix (Oct - 31 nightly), however I am still getting exception. The exception
I now started to get with the nightly is a bit different than the original exception (see
below). 

I have also tried using the sop namespace (rather than soap12), but the result didn't change.
I have also make necessary changes in my wsdl based on Dim's suggested, but again the following
exception is still thrown.

I am uploading the my modified wsdls and .aar file with the corrections suggested by Dim,
see SimpleService.zip file.

Gul


Oct 31, 2006 11:28:17 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3767 ms
2006-10-31 11:28:46,971 INFO  org.apache.axis2.description.WSDL11ToAxisServiceBu
ilder - A service element was not found - picking a random binding!
2006-10-31 11:28:47,101 INFO  org.apache.axis2.description.WSDL11ToAxisServiceBu
ilder - A service element was not found - picking a random binding!
2006-10-31 11:28:47,101 INFO  org.apache.axis2.deployment.repository.util.Archiv
eReader - Trouble processing wsdl file :No bindings found in wsdl; nested except
ion is:
        org.apache.axis2.AxisFault: No bindings found in wsdl
2006-10-31 11:28:47,131 INFO  org.apache.axis2.deployment.repository.util.Archiv
eReader - Trouble processing wsdl file :Cannot Determine the MEP; nested excepti
on is:
        java.lang.Exception: Cannot Determine the MEP


> DeploymentException with segmented wsdl files
> ---------------------------------------------
>
>                 Key: AXIS2-1556
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1556
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Axis2 1.1 (Oct. 30 nightly build)
> Tomcat version 5.5.17
> Java 1.5
> Linux Redhat
>            Reporter: Gul Onural
>            Priority: Blocker
>         Attachments: SimpleService.zip, ws.zip
>
>
> The attachement ws.zip can be used to reproduce the issue explained below.
> Gul
> I am getting org.apache.axis2.deployment.DeploymentException (entire exception stack
trace is down below in the e-mail) from the service I am trying to deploy to Tomcat version
5.5.17, using the Axis2 nightly (Oct 30).
> This service worked with Axis2 release version. The only difference I have is that I
have got the SimpleService.wsdl splitted into several wsdl files (one for the service definitions,
one for the bindings and one for the port type definitions).
> The following is my services.xml. 
> My .aar file contains multiple service implementation classes but, I removed them from
the services.xml file below, for simplicity.
> The name of the wsdl file containing the service definitions has the same name as the
name of the .aar file.  The .aar file contains all the wsdl files under META-INF directory.
> That's all I can verify, since the exception stack trace doesn't tell that much to go
further.
> Can anyone help me to understand what would be wrong ?
> Thanks,
> Gul
> Services.xml
> =========
> <serviceGroup>
>    <service name="SimpleService">
>       <messageReceivers>
>          <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>          <messageReceiver mep="http://www.w3.org/2004/08/wsdl/robust-in-only" class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>       </messageReceivers>
>       <parameter name="ServiceClass" locked="false">com.test.example.SimpleService</parameter>
>       <parameter name="useOriginalwsdl">true</parameter>
>       <operation name="createSimpleExample" mep="http://www.w3.org/2004/08/wsdl/in-out">
>          <actionMapping>urn:createSimpleExample</actionMapping>
>          <outputActionMapping>urn:mycompany.com:web-services:SimpleServicePortType:createSimpleExample</outputActionMapping>
>       </operation>
>    </service>
> </serviceGroup>
> Exception Stack trace :
> ==================
> Error: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException;
nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException;
nested exception is: org.apache.axis2.deployment.DeploymentException: null; nested exception
is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null;
nested exception is: java.lang.NullPointerException at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:307)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:203) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:150)
at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:195)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
Caused by: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException;
nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException
at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:202)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:287)
... 10 more Caused by: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:253)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:200)
... 11 more Caused by: java.lang.NullPointerException at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown
Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
Source) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.readInTheWSDLFile(WSDL11ToAxisServiceBuilder.java:1606)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setup(WSDL11ToAxisServiceBuilder.java:273)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:186)
... 12 more 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message