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:17:26 UTC

[jira] Updated: (AXIS2-2822) Unable to implement methods generated with WSDL2Java: org.apache.axis2.databinding.ADBException: Unexpected subelement PromoteEmailToActivity

     [ 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