cancel
Showing results for 
Search instead for 
Did you mean: 

Defined WSDL in ID is not accepted

Former Member
0 Kudos

Hello,

i have created a wsdl by the wizzard define WS in the integration directory.

the wsdl is working fine with xml spy an the soap sender adapter.

but when we try to import the wsdl into the SAP NetWeaver Composition Environment we get the following error

java.io.IOEXCEPTION: Invalid content type while requesting .... Expected Content-type: text/xml, received Content-type: content/unknown.

Has anyone an idea how I can modify my wsdl or create an correct one that is accept by SAP NetWeaver Composition Environment?

THX for answer

Kind Regards Johann

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member537867
Active Contributor
0 Kudos

Hi Johann,

Try to change the content type to application xt from applicationxml then try once again.

Plz do refer the following blog:

Please take a look at SAP Note No: 856597. Should be helpful.

Could you check with TCPGateway, what error is sent back?

Regards,

Vinod.

Former Member
0 Kudos

hello

the problem is the wsdl publishing.

is a request is started we get the wrong content type back. instead tex/xml we get text/html.

i startet a new post in this forum.

"wsdl publish in xi 3.0 "

Regards Johann

former_member537867
Active Contributor
0 Kudos

Hi Johann,

Actually target URL should be wsdl URL,just have a look at URL whatever u mentioned before importing.

This thread clearly explains ur problem with solution plz go thru it:

Regards,

Vinod.

Former Member
0 Kudos

Hello Vinod,

thx for response, but it didn't help.

I have a correct webservice url

I have a correct wsdl url

it works fine with xmlspy and soap sonar, but when we try to import in SAP NetWeaver Composition Environment I get the error

"java.io.IOEXCEPTION: Invalid content type while requesting .... Expected Content-type: text/xml, received Content-type: content/unknown."

Best Regards Johann