You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/04/25 18:00:15 UTC
[jira] Created: (AXIS2-2590) ASP.NET Interop and other issues.
ASP.NET Interop and other issues.
---------------------------------
Key: AXIS2-2590
URL: https://issues.apache.org/jira/browse/AXIS2-2590
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Reporter: Davanum Srinivas
Schema and WSDL are here - http://article.gmane.org/gmane.comp.apache.webservices.axis.user/53176
1) If we call UpdateBalanceInput on the raw Java produced by WSDL2JAVA, it gets an instantiation exception because it doesn't create a zero-argument instantiator for the enumeration type BalanceOperationType. I have to manually add it and make the protected one-arg version public for it to work.
2) Even then, the operation that gets passed in is null in all cases. In fact, all wrapped objects are passed in as null. Wrapped objects that they return come back to the client fine.
3) If I ask for the wsdl by doing DataService?wsdl, all the 'part name="parameters"' lines turn into '<part name="part0"', which breaks ASP.NET when it tries to connect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-2590) ASP.NET Interop and other issues.
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas reassigned AXIS2-2590:
---------------------------------------
Assignee: Amila Chinthaka Suriarachchi
Amila,
Can you please check if this works now? (for 1.2) Basically generate a service using WSDL/XSD (see the command line in the original post) and test it for the 3 items mentioned.
thanks,
dims
> ASP.NET Interop and other issues.
> ---------------------------------
>
> Key: AXIS2-2590
> URL: https://issues.apache.org/jira/browse/AXIS2-2590
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Reporter: Davanum Srinivas
> Assigned To: Amila Chinthaka Suriarachchi
>
> Schema and WSDL are here - http://article.gmane.org/gmane.comp.apache.webservices.axis.user/53176
> 1) If we call UpdateBalanceInput on the raw Java produced by WSDL2JAVA, it gets an instantiation exception because it doesn't create a zero-argument instantiator for the enumeration type BalanceOperationType. I have to manually add it and make the protected one-arg version public for it to work.
> 2) Even then, the operation that gets passed in is null in all cases. In fact, all wrapped objects are passed in as null. Wrapped objects that they return come back to the client fine.
> 3) If I ask for the wsdl by doing DataService?wsdl, all the 'part name="parameters"' lines turn into '<part name="part0"', which breaks ASP.NET when it tries to connect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2590) ASP.NET Interop and other issues.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-2590.
-------------------------------------------------
Resolution: Fixed
I invoked and see the UpdateBalance method it works fine.
1. when using enumeration classes one have to use the constant enumerations defined.
eg.
updateBalanceInput114.setName("balcnce");
updateBalanceInput114.setQuantity(12.3f);
updateBalanceInput114.setSubject("subject");
updateBalanceInput114.setUnit("update");
updateBalanceInput114.setOperation(BalanceOperationType.adjust);
3. you have to use the
<parameter name="useOriginalwsdl" locked="false">true</parameter> in server.xml
Now (in axis2 1.2) wsdl2java put this parameter to services.xml as well
Note:
This is a document/literal wsdl. So changing the part name should not make any effect to the soap message passed. So that change should not make any interoperatebility issue.
> ASP.NET Interop and other issues.
> ---------------------------------
>
> Key: AXIS2-2590
> URL: https://issues.apache.org/jira/browse/AXIS2-2590
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Reporter: Davanum Srinivas
> Assigned To: Amila Chinthaka Suriarachchi
>
> Schema and WSDL are here - http://article.gmane.org/gmane.comp.apache.webservices.axis.user/53176
> 1) If we call UpdateBalanceInput on the raw Java produced by WSDL2JAVA, it gets an instantiation exception because it doesn't create a zero-argument instantiator for the enumeration type BalanceOperationType. I have to manually add it and make the protected one-arg version public for it to work.
> 2) Even then, the operation that gets passed in is null in all cases. In fact, all wrapped objects are passed in as null. Wrapped objects that they return come back to the client fine.
> 3) If I ask for the wsdl by doing DataService?wsdl, all the 'part name="parameters"' lines turn into '<part name="part0"', which breaks ASP.NET when it tries to connect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org