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 "Henrik Mohr (JIRA)" <ji...@apache.org> on 2007/06/20 01:11:27 UTC
[jira] Created: (AXIS2-2822) Unable to implement methods generated
with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected
subelement PromoteEmailToActivity
Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
---------------------------------------------------------------------------------------------------------------------------------------------
Key: AXIS2-2822
URL: https://issues.apache.org/jira/browse/AXIS2-2822
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: adb
Affects Versions: nightly
Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
Reporter: Henrik Mohr
Priority: Blocker
Attachments: Services.aar
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
--
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] Updated: (AXIS2-2822) Unable to implement methods generated
with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected
subelement PromoteEmailToActivity
Posted by "Henrik Mohr (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henrik Mohr updated AXIS2-2822:
-------------------------------
Description:
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
By the way; I started trying with release version 1.2, raising the same error.
was:
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
By the way; I started trying with release version 1.2, givin the same error.
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: nightly
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with release version 1.2, raising the same error.
--
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] Updated: (AXIS2-2822) Unable to implement methods generated
with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected
subelement PromoteEmailToActivity
Posted by "Henrik Mohr (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henrik Mohr updated AXIS2-2822:
-------------------------------
Description:
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
By the way; I started trying with nightly snapshot, raising the same error.
was:
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
By the way; I started trying with release version 1.2, raising the same error.
Affects Version/s: (was: nightly)
1.2
Change the issue from release "nightly" to "1.2", as it affects both versions, and I want to be using version 1.2 because it's a production system.
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.2
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with nightly snapshot, raising the same error.
--
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] Updated: (AXIS2-2822) Unable to implement methods generated
with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected
subelement PromoteEmailToActivity
Posted by "Henrik Mohr (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henrik Mohr updated AXIS2-2822:
-------------------------------
Description:
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
By the way; I started trying with release version 1.2, givin the same error.
was:
I'm not able to implement method in skeleton-class made from WSDL.
Step1:
type the following command line:
WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
Step 2:
Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
Step 3: build .aar file
Step 4: deploy
Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: nightly
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with release version 1.2, givin the same error.
--
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-2822) Unable to implement methods generated
with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected
subelement PromoteEmailToActivity
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-2822.
-------------------------------------------------
Resolution: Fixed
here you have generated the Axis2 code only to server. I generated the code for both and tested and it worked fine. It worked for dual canel as well.
For your request you have
<s:element name="PromoteEmailToActivity">
<s:complexType>
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" ref="s1:PromoteEmailToActivityRequest"/>
<s:element maxOccurs="1" minOccurs="1" name="objectType" type="s:int"/>
<s:element maxOccurs="1" minOccurs="0" name="objectId" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
where objectType is a manadatory element. So your request xml may not have this element. That should be the issue.
I am resolving the this issue with the above assumption. if it is not the case please reopen the jira with the request.xml
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.2
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with nightly snapshot, raising the same error.
--
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-2822) Unable to implement methods generated
with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected
subelement PromoteEmailToActivity
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi reassigned AXIS2-2822:
---------------------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.2
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with nightly snapshot, raising the same error.
--
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] Commented: (AXIS2-2822) Unable to implement methods
generated with WSDL2Java: org.apache.axis2.databinding.ADBException:
Unexpected subelement PromoteEmailToActivity
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506551 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2822:
-----------------------------------------------------
What is the exception you get?
Can you please send the full stack trance you get?
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.2
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with nightly snapshot, raising the same error.
--
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] Commented: (AXIS2-2822) Unable to implement methods
generated with WSDL2Java: org.apache.axis2.databinding.ADBException:
Unexpected subelement PromoteEmailToActivity
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506553 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2822:
-----------------------------------------------------
I think this is a problem with your request. can you send the request.xml?
> Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2822
> URL: https://issues.apache.org/jira/browse/AXIS2-2822
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.2
> Environment: Windows XP Pro, Java SE/JDK 6.0 u1, AXIS 2 nightly snapshot, Ant 1.7
> Reporter: Henrik Mohr
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
> Attachments: Services.aar, soap-response.xml, WebService.wsdl
>
>
> I'm not able to implement method in skeleton-class made from WSDL.
> Step1:
> type the following command line:
> WSDL2Java -uri file:///E:/tmp/WebService.wsdl -p org.tempuri.webservice -d adb -s -wv 1.2 -ss -sd
> Step 2:
> Implement method SetCrmServicesURL to return new SetCrmServicesURLResponse() - this works.
> Implement method PromoteEmailToActivity to return new PromoteEmailToActivityResponse(); - this doesn't work
> Step 3: build .aar file
> Step 4: deploy
> Step 5: test methods. As mentioned earlier, method PromoteEmailToActivity doesn't work.
> By the way; I started trying with nightly snapshot, raising the same error.
--
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