Hello Alex,

Thanx for your reply.

Hier the SOAPMessages logged by the proxy solution in the following order:

After receiving the request from client (process):

Before sending the received Message to the remote service:

Response receive from the remote service:

Response send to the client (ProcessInstance): 




  | Request Message sent of client:
  | 
  | POST /creditprocess/schufa HTTP/1.1
  | SOAPAction: "urn:samples:schufa:validCustomer"
  | Content-Type: text/xml; charset=UTF-8
  | User-Agent: Java/1.5.0_06
  | Host: 127.0.0.1:8081
  | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
  | Connection: keep-alive
  | Content-Length: 784
  | 
  | <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  |     <env:Header/>
  |     <env:Body>
  |             <soapBodyNS:validCustomer xmlns:soapBodyNS="urn:samples:schufa">
  |                     <_surname 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Njipwo</_surname>
  |                     <_firstname 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Bertrand</_firstname>
  |             </soapBodyNS:validCustomer>
  |     </env:Body>
  | </env:Envelope>
  | 
  | Request Message sent to remote Service:
  | 
  | POST /axis/services/SchufaServiceB HTTP/1.1
  | User-Agent: Java/1.5.0_06
  | SOAPAction: "urn:samples:schufa:validCustomer"
  | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
  | Host: 127.0.0.1:8081
  | Connection: keep-alive
  | Content-Type: text/xml; charset=UTF-8
  | Content-Length: 784
  | 
  | <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  |     <env:Header/>
  |     <env:Body>
  |             <soapBodyNS:validCustomer xmlns:soapBodyNS="urn:samples:schufa">
  |                     <_surname 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Njipwo</_surname>
  |                     <_firstname 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:m="urn:samples:loanapproval" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Bertrand</_firstname>
  |             </soapBodyNS:validCustomer>
  |     </env:Body>
  | </env:Envelope>
  | 
  | 
  | Response Message received by remote Service:
  | 
  | HTTP/1.1 200 OK
  | Server: Apache-Coyote/1.1
  | X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA 
date=200605151000)/Tomcat-5.5
  | Content-Type: text/xml;charset=utf-8
  | Transfer-Encoding: chunked
  | Date: Wed, 03 Jan 2007 21:10:10 GMT
  | 
  | 18e 
  | <?xml version="1.0" encoding="UTF-8"?>
  |     <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  |                       
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 
  |                             <soapenv:Body> 
  |                                     <validCustomerResponse 
xmlns="urn:samples:schufa">
  |                                                
<validCustomerReturn>true</validCustomerReturn>  
  |                                     </validCustomerResponse> 
  |                             </soapenv:Body>
  |     </soapenv:Envelope>
  | 0
  | 
  | 
  | 
  | Response Message of remote Host:
  | 
  | 
  | HTTP/1.1 200 OK
  | Server: Apache-Coyote/1.1
  | X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA 
date=200605151000)/Tomcat-5.5
  | Content-Type: text/xml;charset=utf-8
  | Content-Length: 398
  | Date: Wed, 03 Jan 2007 21:10:10 GMT
  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  |     <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  |                       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  |                             <soapenv:Body>
  |                                      <validCustomerResponse 
xmlns="urn:samples:schufa"> 
  |                                                
<validCustomerReturn>true</validCustomerReturn>  
  |                                       </validCustomerResponse> 
  |                             </soapenv:Body>
  |     </soapenv:Envelope>
  | 
  | 


and hier the first Message sent to the loanprocess service by the XML Spy 
client and the received Response (use it because it is easy to test deployed 
web services):


  | <SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  |     <SOAP-ENV:Body>
  |             <m:apply xmlns:m="urn:samples:loanapproval">
  |                     <loanRequestParameters>
  |                             <firstName>Bertrand</firstName>
  |                             <lastName>Njipwo</lastName>
  |                             <amount>1000</amount>
  |                     </loanRequestParameters>
  |             </m:apply>
  |     </SOAP-ENV:Body>
  | </SOAP-ENV:Envelope>
  | 
  | 
  | <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  |     <env:Header/>
  |     <env:Body>
  |             <env:Fault 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  |                     <faultcode>env:Server</faultcode>
  |                     <faultstring>The service is not in an appropiate state 
for the requested operation</faultstring>
  |             </env:Fault>
  |     </env:Body>
  | </env:Envelope>
  | 

NB: After sending the following message directly to the remote service via the 
proxy solution (http://127.0.0.1:8081/creditprocess/schufa) the corresponding 
response ist:


  | <SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  |     <SOAP-ENV:Body>
  |             <m:validCustomer xmlns:m="urn:samples:schufa">
  |                     <_surname xsi:type="xsd:string">Njipwo</_surname>
  |                     <_firstname xsi:type="xsd:string">Bertrand</_firstname>
  |             </m:validCustomer>
  |     </SOAP-ENV:Body>
  | </SOAP-ENV:Envelope>
  | 
  | 
  | 
  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  |     <soapenv:Body>
  |             <validCustomerResponse xmlns="urn:samples:schufa">
  |                     <validCustomerReturn>true</validCustomerReturn>
  |             </validCustomerResponse>
  |     </soapenv:Body>
  | </soapenv:Envelope>
  | 

One additional information:  I have set up my configuration like follow:

the serviceCatalog URL in bpel-application.xml reflect the entries in 
webservices.xml for the partner service (schufa).

In the WSDL-implementation of the schufa service i have set the soap:address to 
http://127.0.0.1:8081/creditprocess/schufa but it don't solve the problem. 

 To let the generated SOAPMessage included in the HTTP Request by the jbpm-bpel 
module to be sent to http://127.0.0.1:8081/creditprocess/schufa (proxy)  i need 
to swap the AddresseLocation http://milaine:8080/schufa/schufaWS
to :http://127.0.0.1:8081/creditprocess/schufa.


I have send you per email  a commented server_log of the process execution (to 
big to fit in this thread).

I hope you can help.

Thanks once again.


Bertrand





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997744#3997744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997744
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to