Hi,
I had deployed a service using binding.ws & transport as jms (similar to
helloworld-ws-service & helloworld-ws-reference-jms), the service is
starting properly but while the client is trying to communicate with service
the following fault has occured:
run:
[java] Exception in thread "main"
java.lang.reflect.UndeclaredThrowableException
[java] at $Proxy7.getPRID(Unknown Source)
[java] at procurement.PurchaseRequestServiceBPOComponent
.getPRID(PurchaseRequestServiceBPOComponent.java:20)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tuscany.sca.implementation.java.invocation.JavaImplemen
tationInvoker.invoke(JavaImplementationInvoker.java:105)
[java] at
org.apache.tuscany.sca.core.databinding.wire.PassByValueIntercepto
r.invoke(PassByValueInterceptor.java:49)
[java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke
(JDKInvocationHandler.java:233)
[java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke
(JDKInvocationHandler.java:130)
[java] at $Proxy6.getPRID(Unknown Source)
[java] at procurement.PurchaseRequestJmsClient.main(Purc
haseRequestJmsClient.java:16)
[java] Caused by: org.apache.axis2.AxisFault: The system cannot
infer the transport information from the / URL.
[java] at
org.apache.axis2.description.ClientUtils.inferOutTransport(ClientU
tils.java:73)
[java] at
org.apache.axis2.client.OperationClient.prepareMessageContext(Oper
ationClient.java:302)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
OutInAxisOperation.java:174)
[java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.ja
va:163)
[java] at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke
Target(Axis2BindingInvoker.java:100)
[java] at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke
(Axis2BindingInvoker.java:75)
[java] at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInt
erceptor.invoke(DataTransformationInterceptor.java:73)
[java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke
(JDKInvocationHandler.java:233)
[java] at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke
(JDKInvocationHandler.java:130)
[java] ... 12 more
[java] Java Result: 1
I am trying to pass an Array of Objects using the webservice..
*binding :* <wsdlsoap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/jms"/>
*location in the wsdl: *
<wsdlsoap:address
location="jms:/queue.prcreate?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=
org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616"/>
*This is the client composite file reference tag: *
<reference name="PurchaseRequestBPOInterfaceService"
promote="PurchaseRequestServiceBPOComponent/purchaseRequestBPOInterfaceService">
<interface.java interface="
procurement.PurchaseRequestBPOInterfaceService" />
<binding.ws wsdlElement="
http://procurementBPO#wsdl.binding(PurchaseRequestBPOSoapJmsBinding<http://procurementbpo/#wsdl.binding(PurchaseRequestBPOSoapJmsBinding>)
" />
</reference>