[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to