This page documents how to export a service using soapSOAP. This is relevant only to release r892712+
Note: I have not been able to make a successful call calls using client code generated from the wsdl WSDL in either java, c# or and flex 3/actionscript 3 but not from C# so far (see https://issues.apache.org/jira/browse/OFBIZ-3385)
...
UPDATE: since r896347, I am now able to use jax-ws (in netbeansNetbeans) to generate the client code to connect to ofbiz. See https://issues.apache.org/jira/browse/OFBIZ-3385 for example code.
...
Code Block |
---|
<service name="findPartiesById" engine="java" auth="true" location="org.ofbiz.party.party.PartyServices" invoke="findPartyById" export="true"> <description>Find the partyId corresponding to a reference and a reference type</description> <attribute type="String" mode="IN" name="idToFind" optional="false"/> <attribute type="String" mode="IN" name="partyIdentificationTypeId" optional="true"/> <attribute type="String" mode="IN" name="searchPartyFirst" optional="true"/> <attribute type="String" mode="IN" name="searchAllId" optional="true"/> <attribute type="org.ofbiz.entity.GenericValue" mode="OUT" name="party" optional="true"/> <attribute type="List" mode="OUT" name="partiesFound" optional="true"/> </service> |
Step 2: view the
...
WSDL
To see all the exported services: http://demo-trunk.ofbiz.apache.org//webtools/control/SOAPService?wsdl
To view the wsdl WSDL for the findPartiesById service: http://demo-trunk.ofbiz.apache.org//webtools/control/SOAPService/findPartiesById?wsdl
I would recommend studying the wsdl WSDL for the service, as it documents the AXIOM model you need to later create.
...