Method signatures doesn't much. Your method has only 1 parameter, but
you specified method with 3 parameters in config ( params are indexed
from 0 ).
On 3/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I modify the example xml you sent me to fit my HelloWorldService service,
however I didn't see any difference in the generated WSDL. I see nothing
that references the Header element.
Thoughts?
package com.myeclipse.wsexample;
//Generated by MyEclipse
public class HelloWorldServiceImpl implements IHelloWorldService {
public String example(String message) {
return message;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<name>HelloWorldService</name>
<serviceClass>
com.myeclipse.wsexample.IHelloWorldService
</serviceClass>
<implementationClass>
com.myeclipse.wsexample.HelloWorldServiceImpl
</implementationClass>
<style>rpc</style>
<use>literal</use>
<scope>application</scope>
<method name="example" operationName="example">
<parameter index="1" class="java.lang.String"
header="true" />
<parameter index="2" class="java.lang.String"
header="true" />
</method>
</service>
</beans>
Here is the sample you sent me:
Hmm, You can also configure this using services.xml file:
header="true" is important part
<service id="ConcatService">
<name>ConcatService</name>
<namespace>urn:concat-service</namespace>
<serviceClass>org.codehaus.xfire.spring.config.ConcatService</serviceClass>
<method name="concat"
operationName="concatThreeStrings" xmlns:c="urn:test">
<parameter index="1" class="java.lang.String" header="true" />
<parameter index="2" class="java.lang.String" header="true" />
</method>
<method name="excluded" exclude="true"/>
</service>
--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email