[JBoss jBPM] - Re: invoke called, but our invoker is disconnected
by bertrand.njiipwo
Sorry,
i didn't edit the precedent postreply to end. The WSDL-files follow:
loanapproval.wsdl
<?xml version="1.0" encoding="UTF-8"?>
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:loanapproval" xmlns:loanapproval="urn:samples:loanapproval" xmlns:schufa="urn:samples:schufa" xmlns:types="urn:samples:loanapprovalTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" targetNamespace="urn:samples:loanapproval">
| <import namespace="urn:samples:schufa" location="interface/schufa.wsdl"/>
| <types/>
| <schema targetNamespace="urn:samples:loanapprovalTypes" xmlns="http://www.w3.org/2001/XMLSchema">
| <element name="loanProcessFault" type="types:loanProcessFaultType"/>
| <complexType name="loanApplicationType">
| <sequence>
| <element name="firstName" type="string"/>
| <element name="lastName" type="string"/>
| <element name="amount" type="float"/>
| </sequence>
| </complexType>
| <complexType name="approvalDecisionType">
| <sequence>
| <!--element name="approved" type="boolean"/-->
| <element name="approved" type="string"/>
| </sequence>
| </complexType>
| <complexType name="loanProcessFaultType">
| <sequence>
| <element name="ErrorCode" type="int"/>
| <element name="ErrorMessage" type="string"/>
| </sequence>
| </complexType>
| </schema>
| </types>
| <message name="applyRequest">
| <part name="loanRequestParameters" type="types:loanApplicationType"/>
| </message>
| <message name="applyResponse">
| <part name="loanResponse" type="types:approvalDecisionType"/>
| </message>
| <message name="applyLoanProcessFault">
| <part name="loanFault" element="types:loanProcessFault"/>
| </message>
| <portType name="LoanProcessPortType">
| <operation name="apply">
| <input message="tns:applyRequest"/>
| <output message="tns:applyResponse"/>
| <fault name="LoanProcessFault" message="tns:applyLoanProcessFault"/>
| </operation>
| </portType>
| <plt:partnerLinkType name="LoanProcessingPLT">
| <plt:role name="lender">
| <plt:portType name="tns:LoanProcessPortType"/>
| </plt:role>
| </plt:partnerLinkType>
| <!-- Describe the relation between the -->
| <plt:partnerLinkType name="SchufaPLT">
| <plt:role name="schufa">
| <plt:portType name="schufa:SchufaWS"/>
| </plt:role>
| </plt:partnerLinkType>
| </definitions>
|
Schufa.wsdl
<?xml version="1.0" encoding="UTF-8"?>
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:schufa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="urn:samples:schufa" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/">
| <message name="validCustomerRequest">
| <part name="_surname" type="xsd:string"/>
| <part name="_firstname" type="xsd:string"/>
| </message>
| <message name="validCustomerResponse">
| <part name="validCustomerReturn" type="xsd:string"/>
| </message>
| <portType name="SchufaWS">
| <operation name="validCustomer" parameterOrder="_surname _firstname">
| <input name="validCustomerRequest" message="tns:validCustomerRequest"/>
| <output name="validCustomerResponse" message="tns:validCustomerResponse"/>
| </operation>
| </portType>
| </definitions>
schufa.impl.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:schufa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="urn:samples:schufa" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
| http://schemas.xmlsoap.org/wsdl/">
| <import namespace="urn:samples:schufa" location="schufa.wsdl"/>
| <binding name="SchufaServiceSoapBinding" type="tns:SchufaWS">
| <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
| <operation name="validCustomer">
| <soap:operation soapAction="urn:samples:schufa:validCustomer"/>
| <input>
| <soap:body use="literal" namespace="urn:samples:schufa"/>
| </input>
| <output>
| <soap:body use="literal" namespace="urn:samples:schufa"/>
| </output>
| </operation>
| </binding>
| <service name="SchufaWSService">
| <port name="SchufaPort" binding="tns:SchufaServiceSoapBinding">
| <soap:address location="http://127.0.0.1:8081/creditprocess/schufa"/>
| </port>
| </service>
| </definitions>
This issus is somewhere closed to the one in this thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916608 but hier i'm using rpc/literal.
Can any one tell me if i'm the one who cause this problem?
Thanks for your help.
Bertrand
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999264#3999264
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999264
19 years, 3 months
[JBossWS] - nullpointer in specifying transport guarantee
by siddharthags
hi
i have a web service that is deployed as a war on the JBoss [Zion] 4.0.5.GA build running the jbosws1.0.3 stack. i am trying to specify the transport guarantee for it to be confidential in the web.xml as
| <web-ap>
| .....
| <security-constraint>
| <web-resource-collection>
| <web-resource-name>myservice</web-resource-name>
| </web-resource-collection>
| <user-data-constraint>
| <transport-guarantee>CONFIDENTIAL</transport-guarantee>
| </user-data-constraint>
| </security-constraint>
| </web-app>
|
this is following the example specified of securing and enforcing of https mentioned for jmx-console
but am getting an error on jboss start up that says
| 16:06:31,137 ERROR [MainDeployer] Could not create deployment: file:/D:/Program Files/jboss/server/default/deploy/myservice.war/
| java.lang.NullPointerException
| at org.jboss.util.xml.DOMUtils.getTextContent(DOMUtils.java:392)
| at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.initTransportGuaranteeJSE(JSR109ServerMetaDataBuilder.java:361)
| at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:203)
|
i can enforce the https via https:// prepend before the REPLACE... tag in the wsdl but i guess reading various posts by jason indicate that this should be supported by also just specifying the transport guarantee value in the web.xml from the 4.04 version of the AS?
TIA for ay answers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999262#3999262
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999262
19 years, 3 months