Hi,

It seems like a problem with your WSDL. The binding you have written implies
that its a document literal service. If you are to keep it this way the
parts referred to by the message should be refering to a schema elemant.

The schema you have written is such that you will have to bind it as a RPC
Literal service. This link has a good description
http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/

Thanks,
Keith.

On 7/19/07, André Macedo <[EMAIL PROTECTED]> wrote:

Hi,

I'm trying to do a proxy Web Services in Apache Synapse. I try to publish
a WSDL file (in attach), and it has a message with more than one part. I
receive this error from Apache Synapse:

org.apache.axis2.AxisFault: *More than one part for message input*
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:298)
        at org.apache.synapse.core.axis2.ProxyService.buildAxisService(
ProxyService.java:240)
        at org.apache.synapse.core.axis2.SynapseModule.init(
SynapseModule.java:109)
        at
org.apache.axis2.context.ConfigurationContextFactory.initModules (
ConfigurationContextFactory.java:209)
        at org.apache.axis2.context.ConfigurationContextFactory.init(
ConfigurationContextFactory.java:189)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(
ConfigurationContextFactory.java:
72)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem
(ConfigurationContex
tFactory.java:174)
        at org.apache.synapse.SynapseServer.main (SynapseServer.java:60)
Caused by:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:More
 than one part for message i
nput
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(
WSDL11ToAxisServiceBuilder.java:858)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(
WSDL11ToAxisServiceBuilder.java:782)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding (
WSDL11ToAxisServiceBuilder.java:474)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(
WSDL11ToAxisServiceBuilder.java:374)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(
WSDL11ToAxisServiceBuilder.java:334)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:288)
        ... 7 more
org.apache.synapse.SynapseException : Error building service from WSDL
        at org.apache.synapse.core.axis2.ProxyService.handleException(
ProxyService.java:524)
        at org.apache.synapse.core.axis2.ProxyService.buildAxisService(
ProxyService.java :265)
        at org.apache.synapse.core.axis2.SynapseModule.init(
SynapseModule.java:109)
        at
org.apache.axis2.context.ConfigurationContextFactory.initModules(
ConfigurationContextFactory.java:209)
        at org.apache.axis2.context.ConfigurationContextFactory.init(
ConfigurationContextFactory.java:189)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java :
72)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem
(ConfigurationContex
tFactory.java:174)
        at org.apache.synapse.SynapseServer.main(SynapseServer.java :60)
Caused by: org.apache.axis2.AxisFault: More than one part for message
input
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:298)
        at org.apache.synapse.core.axis2.ProxyService.buildAxisService(
ProxyService.java:240)
        ... 6 more
Caused by:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:More
 than one part for message i
nput
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(
WSDL11ToAxisServiceBuilder.java:858)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(
WSDL11ToAxisServiceBuilder.java:782)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(
WSDL11ToAxisServiceBuilder.java:474)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint (
WSDL11ToAxisServiceBuilder.java:374)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(
WSDL11ToAxisServiceBuilder.java:334)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService (
WSDL11ToAxisServiceBuilder.java:288)
        ... 7 more

Does Apache Synapse support messages with more than one part?


Best regards,
André Macedo.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to