on 09-21-2015 1:47 PM
hi,
when i send a request to websrvice i have this message
HTTP/1.1 415 Unsupported Media Type
server: SAP NetWeaver Application Server 7.20 / AS Java 7.30
pragma: no-cache
content-type: text/html;charset=ISO-8859-1
content-length: 1972
date: Mon, 21 Sep 2015 12:40:13 GMT
this is the request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<StartRequest_sync xmlns="http://sap.com/xi/ME">
<StartRequest>
<SiteRef>
<Site>4680</Site>
</SiteRef>
<SfcRequest>
<SiteRef>
<Site>4680</Site>
</SiteRef>
<SfcRef>
<Sfc>615190001879</Sfc>
</SfcRef>
<ResourceRef>
<Resource>04_REPRISE_EMBALL_PKT</Resource>
</ResourceRef>
<OperationRef>
<Operation>REPRISE_EMBALL_PKT</Operation>
<Revision>01</Revision>
</OperationRef>
<UserRef>
<UserId>TESTEUR</UserId>
</UserRef>
</SfcRequest>
</StartRequest>
</StartRequest_sync>
</s:Body>
</s:Envelope>
i don't know how can i solve this problem
Here is what SOAPUI uses:
content-type=text/xml; charset=utf-8
Please try it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Have you already tried to change the header and use other content-type as you mentioned in other duplicate thread?
The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
Regards,
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.