View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016181 | mantisbt | api soap | public | 2013-07-15 11:17 | 2015-08-02 05:38 |
| Reporter | JeromyK | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | acknowledged | Resolution | open | ||
| Product Version | 1.2.15 | ||||
| Summary | 0016181: Setting up a connection between SAP R3 and Mantis with SOAP doesn't work | ||||
| Description | Hello everybody I tried to interconnect SAP with Mantis and have some problems to do that. This problems isn't that important for me, so it can take a long time until I have time to really fix it... so I provide all informations that I have. Maybe somebody has higher knowledge in WSDL and can fix it easy If I try to set a client proxy, I resceive the following error: <slibfault:text>Unknown namespace http://schemas.xmlsoap.org/soap/encoding/</slibfault:text> | ||||
| Additional Information | The WSDL document must fit version 1.1 or 2.0 of the W3C WSDL standard The mantis WSDL-XML is specified as XML version 1.0. In this version, it's only allowed to use "literal" binding for the "use"-attribut The Profile prohibits the use of encodings, including the SOAP encoding. | ||||
| Tags | No tags attached. | ||||
| Attached Files | helloworld.wsdl (1,776 bytes)
<?xml version="1.0"?>
<wsdl:definitions
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:hy="http://www.herongyang.com/Service/"
targetNamespace="http://www.herongyang.com/Service/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.herongyang.com/Service/">
<xsd:element name="HelloRequest" type="xsd:string"/>
<xsd:element name="HelloResponse" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="helloInputMessage">
<wsdl:part name="helloInputPart" element="hy:HelloRequest"/>
</wsdl:message>
<wsdl:message name="helloOutputMessage">
<wsdl:part name="helloOutputPart" element="hy:HelloResponse"/>
</wsdl:message>
<wsdl:portType name="helloPortType">
<wsdl:operation name="Hello">
<wsdl:input name="helloInput"
message="hy:helloInputMessage"/>
<wsdl:output name="helloOutput"
message="hy:helloOutputMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="helloBinding" type="hy:helloPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Hello">
<soap:operation
soapAction="http://www.herongyang.com/Service/Hello"/>
<wsdl:input name="helloInput">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="helloOutput">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="helloService">
<wsdl:port name="helloPort" binding="hy:helloBinding">
<soap:address
location="http://www.herongyang.com/Service/Hello_SOAP_11.php"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions> | ||||
|
If someone has a idea how I can fix that, it would be a pleasure for me to test that on our SAP Testenvironment. |
|
|
I unfortunately have no idea - but if you can attach
I can try and fix this in MantisBT. |
|
|
I tried to tweak the MantisBT-WSDL to work, but failed on that task for the first time. So I add a WSDL-File, that works with SAP, maybe you can extcract some information. |
|
|
The issue here is that we use the RPC/encoded style of web services, which is not supported by SAP, as RPC/encoded is not WS-I compliant. However, since backwards compatibility might be affected I need to research a little bit before e.g. using RPC/literal. All in all, not likely to happen very soon without a contribution. |
|
|
I want to mantis send to message to sap .how do it. |
|
|
(janewars comment is old, but maybe somebody will search the same question) We simple use a SAP class to analyse job logs and send a email to mantis. |
|