2) Then I made changes to synapse_sample_100.xml file as below:
<definitions xmlns="http://ws.apache.org/ns/synapse">
<proxy name="SAMPLEAPISvc">
<target>
<endpoint>
<address
uri="http://localhost:8008/axis2/services/SAMPLEAPISvc"/>
</endpoint>
<outSequence>
<send/>
</outSequence>
</target>
<publishWSDL
uri="file:repository/conf/sample/resources/proxy/SAMPLEAPISvc.wsdl"/>
</proxy>
</definitions>
It is better if you can switch to jdk 1.5 or *for the moment remove this
publishWSDL tag* and try again.
[main] INFO SynapseModule - Deploying Proxy services...
java.lang.NoSuchMethodError: java.net.URLConnection.setReadTimeout(I)V
at org.apache.synapse.config.Util.getOMElementFromURL(Util.java
:150)
at
BTW: I strongly recommend you to use WSO2ESB as Asankha pointed which will
provide a graphical interface for you to create the configuration.
I think Asankha has provided the answers to your questions, if you have any
more clarifications you are more than welcome.
[1] - http://wso2.org/projects/esb/java
Thanks,
Ruwan