You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <tu...@ws.apache.org> on 2006/11/28 23:34:23 UTC
[jira] Updated: (TUSCANY-941) Zero Parm operation w/ SDO @DataType
annotation fails over WS binding
[ http://issues.apache.org/jira/browse/TUSCANY-941?page=all ]
Scott Kurz updated TUSCANY-941:
-------------------------------
Attachment: helloworld.wsdl
I believe this is the correct way to do this..to keep the input message on the operation and to wrap an empty element:
<element name="getGreetings">
<complexType>
<sequence/>
</complexType>
</element>
Though when I get a chance I'll check the JAX-WS spec to be sure ... (and I think JAX-WS is an appropriate authority though I'm not 100% sure I'm right to assume that).
> Zero Parm operation w/ SDO @DataType annotation fails over <binding.axis2> WS binding
> --------------------------------------------------------------------------------------
>
> Key: TUSCANY-941
> URL: http://issues.apache.org/jira/browse/TUSCANY-941
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding
> Affects Versions: Java-M2
> Environment: M2 level code
> Reporter: Scott Kurz
> Assigned To: Raymond Feng
> Priority: Minor
> Attachments: helloworld.wsdl
>
>
> Seems to need some special-case handling when the service operation is defined with no parms.
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:572)
> at java.util.ArrayList.get(ArrayList.java:347)
> at org.apache.tuscany.core.databinding.impl.Input2InputTransformer.transform(Input2InputTransformer.java:197)
> at org.apache.tuscany.core.databinding.impl.Input2InputTransformer.transform(Input2InputTransformer.java:47)
> at org.apache.tuscany.core.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:95)
> at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.transform(DataBindingInteceptor.java:105)
> at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:69)
> at org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(SynchronousBridgingInterceptor.java:41)
> at org.apache.tuscany.binding.axis2.Axis2Service.invokeTarget(Axis2Service.java:226)
> at org.apache.tuscany.binding.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:53)
> at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
> I don't want to paste my whole app just to show this piece... and it's so simple that one would know what a WSDL snippet would look like so I won't attach anything.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org