Dear all my Camunda Friends,
I have this problem for almost 1 month and almost give up.
Please anybody help me out
and this is the xml from web service :
wsdl:definitions xmlns:apachesoap=“http://xml.apache.org/xml-soap” xmlns:impl=“http://webservice.hs.de” xmlns:intf=“http://webservice.hs.de” xmlns:wsdl=“http://schemas.xmlsoap.org/wsdl/” xmlns:wsdlsoap=“http://schemas.xmlsoap.org/wsdl/soap/” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” targetNamespace=“http://webservice.hs.de”>
</wsdl:types>
<wsdl:message name=“getProductRequest”>
<wsdl:part element=“impl:getProduct” name=“parameters”> </wsdl:part>
</wsdl:message>
<wsdl:message name=“getProductResponse”>
<wsdl:part element=“impl:getProductResponse” name=“parameters”> </wsdl:part>
</wsdl:message>
<wsdl:portType name=“Versicherung”>
<wsdl:operation name=“getProduct”>
<wsdl:input message=“impl:getProductRequest” name=“getProductRequest”> </wsdl:input>
<wsdl:output message=“impl:getProductResponse” name=“getProductResponse”> </wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name=“VersicherungSoapBinding” type=“impl:Versicherung”>
<wsdlsoap:binding style=“document” transport=“http://schemas.xmlsoap.org/soap/http”/>
<wsdl:operation name=“getProduct”>
<wsdlsoap:operation soapAction=“”/>
<wsdl:input name=“getProductRequest”>
<wsdlsoap:body use=“literal”/>
</wsdl:input>
<wsdl:output name=“getProductResponse”>
<wsdlsoap:body use=“literal”/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name=“VersicherungService”>
<wsdl:port binding=“impl:VersicherungSoapBinding” name=“Versicherung”>
<wsdlsoap:address location=“http://localhost:8090/Webservicebezahlen/services/Versicherung”/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
This is the Sebservice Logic =
package de.hs.webservice;
public class Versicherung {
public String getProduct (String p) {
double Mehrwertsteuer = 1.19;
double neue = Double.parseDouble(p);
Mehrwertsteuer = neue*Mehrwertsteuer;
String ergebnis = String.valueOf(Mehrwertsteuer);
return ergebnis;
}
}