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

Reply via email to