axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isuru Eranga Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4588) Custom WSDLs are Blocking the Client Request
Date Tue, 04 Jan 2011 08:59:45 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977174#action_12977174
] 

Isuru Eranga Suriarachchi commented on AXIS2-4588:
--------------------------------------------------

Hi Maria,

In your services.xml file, you have two services. Each service has two operations and all
four operations are using RPCInOnlyMessageReceiver.

But both the operations in your I1ItemRecordService.wsdl, are IN-OUT. You can't use the RPCInOnlyMessageReceiver
for two way (IN-OUT) operations. That's why you are getting an empty response SOAP message
for those operations. You have to use the RPCMessageReceiver for IN-OUT operations. Please
try that and let us know whether it resolves your problem.

And also, when I tried to deploy your service, it gives me the following NPE. So I can't test
it with the above fix.

[INFO] The GainsI1Services.aar service, which is not valid, caused java.lang.ExceptionInInitializerError
	at net.gainsystems.webservices.i1.I1AbstractService.<clinit>(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:247)
	at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(DefaultSchemaGenerator.java:140)
	at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
	at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:386)
	at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
	at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
	at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
	at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
	at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
	at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
Caused by: java.lang.NullPointerException
	at net.gainsystems.webservices.util.GWSConfiguration.<init>(Unknown Source)
	at net.gainsystems.webservices.util.GWSConfiguration.getGWSConfigurations(Unknown Source)
	at net.gainsystems.webservices.i1.I1Service.<clinit>(Unknown Source)
	... 21 more


Thanks,
~Isuru

> Custom WSDLs are Blocking the Client Request
> --------------------------------------------
>
>                 Key: AXIS2-4588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4588
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5
>         Environment: Windows XP, Tomcat 6.0, & JBoss 5.0
>            Reporter: Maria Sekar
>            Assignee: Isuru Eranga Suriarachchi
>            Priority: Blocker
>         Attachments: customwsdls.rar, customwsdls.zip, gains1.rar, gains1.zip, GainsI1Services.aar,
GainsI1Services.zip, net.rar, net.zip
>
>
> Hi,
> I have developed the webservices and its working fine. In that I have 2 methods one for
sending bulk records as xml file attachements. another method is used to send single record
as an object. and its working fine. But when I placed the modified or even non modified wsdls
into META-INF directory I can't receive any data from the client but the logs shows SOAP requests
and the objects data are present there. but in the server side all those things are coming
as empty. 
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message