Hi,

I encountered the above issues/limitations when trying to implement the
SOAP client using the above mentioned dynamic client capability.

Best Regards,
Natasha Wijesekare

On Fri, Mar 18, 2016 at 2:57 PM, Nandika Jayawardana <nand...@wso2.com>
wrote:

> Hi Natasha,
>
> Lets try with CXF. According to the documentation, there is a dynamic
> client capabilty with CXF. Can you give it a try.
>
> http://cxf.apache.org/docs/dynamic-clients.html
>
> Regards
> Nandika
>
> On Thu, Mar 17, 2016 at 4:58 PM, Natasha Wijesekara <nata...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> I tried implementing a SOAP client using Apache CXF and came across the
>> following limitations.
>>
>> - When invoking the operation with  parameters it expects a Java object
>> to be passed as the parameter when a complex type is used i.e. not a
>> primitive type.
>>
>> -  Apache CXF SOAP client  cannot create java objects from
>> dynamic WSDLs which is one of our requirements.
>>
>> Is there any way to overcome these limitations when using CXF or is there
>> any other alternative ways to create SOAP clients?
>> Any suggestions and feedback are highly appreciated.
>>
>> Best Regards,
>> Natasha Wiejsekare
>>
>>
>> On Thu, Mar 17, 2016 at 10:19 AM, Natasha Wijesekara <nata...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> WSO2 BPS  contains a RESTInvokerTask to invoke/send a  message from a
>>> BPMN process instance to a REST service. Similarly, we can extend support
>>> to implement  a SOAP Task to invoke external soap services from a BPMN
>>> process instance.
>>>
>>> The diagram below is a sample BPMN process which invokes an external
>>> soap service to get data in order to complete the process.
>>>
>>> [image: Inline image 2]
>>>
>>>
>>> This is an example for a two-way communication i.e. the request is sent
>>> to the soap service and a response is excepted back. There can be scenarios
>>> where a response is not expected back from the service(One-way).
>>>
>>> In order to achieve this we have to create a soap client which invokes
>>> the needed soap service by passing the payload (Soap message, headers etc.)
>>>  There are many ways to write a soap client.
>>> For this, what will be the best-suited option out of the following?
>>>
>>> [1] Using Apache CXF
>>>
>>> [2] Using Axis2
>>> [3] Using Java XML Soap
>>>
>>> Any suggestions and feedback are highly appreciated.
>>>
>>> Best Regards,
>>> *Natasha Wijesekare*
>>>
>>> *WSO2  Inc:  http://wso2.com <http://wso2.com/>*
>>> *email  : nata...@wso2.com <nata...@wso2.com>*
>>> *mobile: +94 771358651 <%2B94%20771358651>*
>>>
>>
>>
>>
>> --
>> *Natasha Wijesekare*
>>
>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>> <http://wso2.com/>*
>> *email  : nata...@wso2.com <nata...@wso2.com>*
>> *mobile: +94 771358651 <%2B94%20771358651>*
>>
>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 
*Natasha Wijesekare*

*Software Engineering Intern, WSO2  Inc:  http://wso2.com
<http://wso2.com/>*
*email  : nata...@wso2.com <nata...@wso2.com>*
*mobile: +94 771358651*
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to