- 
        1. Approach to integrate php/java through esbtcunning Apr 12, 2011 10:50 PM (in response to everjava)This thread has some information from people approaching the same issue, I think it'd probably be helpful. 
- 
        2. Re: Approach to integrate php/java through esbeverjava Apr 19, 2011 4:10 PM (in response to tcunning)Follow the steps from link above my test project works fine. But instead write a soap message as string into php file, i did a call to java ws and get the soap message sent between ws-php and ws-java and i send that soap message as did on example(link) $clientClass = 'DebugSoapClient'; //wrapper to SoapClient.php $client = new $clientClass("http://localhost:8080/exe5/OrderPlacedWS?wsdl"); //********* first call ob_start(); //get the soap message sent $res = $client->orderPlaced($um); //here the method orderPlaced isn't executed because the wrapper, here just get the soap sent $out = ob_get_contents(); ob_end_clean(); $ch = curl_init(); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_URL, "localhost"); curl_setopt($ch, CURLOPT_PORT, 8765); curl_setopt($ch, CURLOPT_POSTFIELDS, $out); $response = curl_exec($ch); //******************second call curl_close($ch); In this approach, I think, there's two calls for webservice. Couldn't it leave a little overhead ? It's my first doubt. The second one is: How can i get an exception when occurs an error in SOAPProcessor ? I sent a wrong soap message to force an exception and I'd like get the error for log and to know that happened a wrong integration: <actions> <action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln"> <property name="message" value="[Quickstart_webservice_producer] BEFORE invoking jbossws endpoint" /> </action> <action name="JBossWSAdapter" class="org.jboss.soa.esb.actions.soap.SOAPProcessor"> <property name="jbossws-endpoint" value="OrderPlacedWS" /> </action> <action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln"> <property name="message" value="[Quickstart_webservice_producer] AFTER invoking jbossws endpoint" /> </action> 
- 
        3. Approach to integrate php/java through esbtcunning Apr 19, 2011 11:34 PM (in response to everjava)Glad to see you're making progress here, but what you are asking is really a php question - it's kind of out of the scope of this forum. There's probably a ton of other forums or examples on Google for advice or examples on this sort of thing. 
 
    