-
1. Re: WSDL reference from bean component
boanergesza11 Jun 25, 2013 7:04 AM (in response to boanergesza11)Maybe let me provide some more context: I read this article
https://community.jboss.org/wiki/InvokingExternalWebServiceFromSwitchYard
My Questions is, how do I make the jump from the bean to the refernce service?
-
2. Re: WSDL reference from bean component
mageshbk Jun 25, 2013 8:15 AM (in response to boanergesza11)1 of 1 people found this helpfulHi,
Now that you asked, we lack a Bean reference to SOAP sample. Ideally you create a Java Interface and use that as a reference inside the Bean. This Interface should be a mapper for the WSDL input/output/fault operations. Here is reference to another thread where a simple HTTP reference is used. This should give you more insights.
-
3. Re: WSDL reference from bean component
boanergesza11 Jun 25, 2013 8:40 AM (in response to mageshbk)One more question. This interface, is their a tool to generate it for me using the WSDL, or should I do it by hand? Would the same thing go for the JCA interface?
-
4. Re: WSDL reference from bean component
rcernich Jun 25, 2013 9:58 AM (in response to boanergesza11)Hey Gerhard,
If you're using the latest 1.0 tooling, there is a feature to generate the required Java files: Java Files from WSDL. This should be available in the context menu on the reference (or any service/reference with a WSDL interface).
Hope that helps,
Rob
-
5. Re: WSDL reference from bean component
boanergesza11 Jun 26, 2013 2:03 AM (in response to rcernich) -
6. Re: WSDL reference from bean component
rcernich Jun 26, 2013 10:03 AM (in response to boanergesza11)Click on the service or reference in the SwitchYard editor. You may also find this in the New... menu, in the SwitchYard category.
Rob
-
7. Re: WSDL reference from bean component
boanergesza11 Jun 27, 2013 3:29 AM (in response to rcernich) -
8. Re: WSDL reference from bean component
rcernich Jun 27, 2013 10:26 AM (in response to boanergesza11)I'm guessing you're using an older version of the tooling. This feature was added in 1.0, https://issues.jboss.org/browse/SWITCHYARD-966.
Rob
-
9. Re: WSDL reference from bean component
boanergesza11 Jun 28, 2013 3:20 AM (in response to rcernich)