Hello, I want to invoke my own Web Service from BPEL, but I get this error:
16:24:27,262 ERROR [ExternalService] Error sending message to Axis2 for ODE mex {PartnerRoleMex#108 [PID {http://ode/bpel/unit-test}EmailSender] calling [EMAIL PROTECTED](...)} org.apache.axis2.AxisFault: method "http://schemas.xmlsoap.org/soap/envelope/sendEmail" not defined in service This operations is defined in the Service but in the namespace urn:PageProcessor, the SOAP request made by ODE (I sniffed it) is wrong: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:8181/web_service/process_server.php</addr:To> <addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"/> </soapenv:Header> <soapenv:Body> <sendEmail xmlns:ns1="urn:PageProcessor"> <createBody>Berichtje</createBody> <host>mail.pagenic.nl</host> <bcc_username_arr>none</bcc_username_arr> <subject>Onderwerpje</subject> <mailer>smtp</mailer> <from_username>Kees</from_username> <cc_username_arr>none</cc_username_arr> <to_username_arr>jan</to_username_arr> </sendEmail> </soapenv:Body> </soapenv:Envelope> That message produces the above error. If I send it to the Service directly using a custom SOAP sender (sendsoap.bat), it says sendEmail isn't defined. If i add a namespace ns4="urn:PageProcessor" it works well if I send it using sendsoap.bat <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns4="urn:PageProcessor"> <soapenv:Header> <addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:8181/web_service/process_server.php</addr:To> <addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"/> </soapenv:Header> <soapenv:Body> <ns4:sendEmail> <createBody>Berichtje</createBody> <host>mail.pagenic.nl</host> <bcc_username_arr>none</bcc_username_arr> <subject>Onderwerpje</subject> <mailer>smtp</mailer> <from_username>Kees</from_username> <cc_username_arr>none</cc_username_arr> <to_username_arr>jan</to_username_arr> </ns4:sendEmail> </soapenv:Body> </soapenv:Envelope> The Web Service I use is build with PEAR_SOAP. What can be wrong? Rene