axis-java-dev mailing list archives

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


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(
	at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(
	at org.apache.axis2.deployment.util.Utils.fillAxisService(
	at org.apache.axis2.deployment.ServiceBuilder.populateService(
	at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(
	at org.apache.axis2.deployment.ServiceDeployer.deploy(
	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(
	at org.apache.axis2.deployment.RepositoryListener.update(
	at org.apache.axis2.deployment.RepositoryListener.checkServices(
	at org.apache.axis2.deployment.DeploymentEngine.loadServices(
	at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(
	at org.apache.axis2.transport.SimpleAxis2Server.<init>(
	at org.apache.axis2.transport.SimpleAxis2Server.main(
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


> Custom WSDLs are Blocking the Client Request
> --------------------------------------------
>                 Key: AXIS2-4588
>                 URL:
>             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,, gains1.rar,, GainsI1Services.aar,, net.rar,
> 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:
For additional commands, e-mail:

View raw message