cancel
Showing results for 
Search instead for 
Did you mean: 

Error in testing wsdl file

Former Member
0 Kudos

Hi,

For Interoperability, I have made a soap to rfc scenario in PI 7.1. Created WSDL file so that it can be used by other platforms. But when i tested the wsdl file through Webservice studio tool, It throws an error. The same configuration when i do in PI 7.0. It works fine.

Is there anything extra i need to do in PI7.1 as this version has extra features of the SOA concept. How shall i go about it..

Please help me at the earliest.

Regards,

Kevin.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Problem in cache

Former Member
0 Kudos

hi,

you tend to supply insufficient information when describing your problems.

what does it mean 'test the WSDL'??? a WSDL is an interface description. nothing else. you can't execute it or something. you could at most check if it is well-formed and valid XML.

what was your error?

did you try to call both services (of different releases) with the same client configuration (test tool configuration)?

did you compare the WSDLs?

my car doesn't start, what is the problem isn't something you would ask your mechanic on the phone, right?

anton

Former Member
0 Kudos

Hi

I am really Sorry for the trouble...

I have to actually make an end point of the webservice in PI 7.1

Basically i have to create a synch scenario (SOAP to RFC) in XI/PI 7.1. then using wizard i need to make the wsdl file, so that others can use it.

I have made the services, configured and created a wsdl URL just like how i had done in PI 7.0 but the wsdl file doesn't work. (scenario in PI 7.0 works)

I tested it using the .net webservice tool which invokes the webservice but it throws The following error.

Do I need to do anything else or an extra configuration in PI 7.1 in order to achieve my objective.

I read that we need to publish the services to the service registry. Is this right to fulfill my objective.

Kindly guide me.

ERROR:"

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

                            • Exception Text **************

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html;charset=ISO-8859-1', but expected 'text/xml'.

The request failed with the error message:

--

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Error Report</title>

<style>

td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}

A:link

A:visited

A:active

</style>

</head>

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">

<tr bgcolor="#FFFFFF">

<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b> 401 &nbsp Unauthorized</b></font></td>

</tr>

<tr bgcolor="#3F73A3">

<td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>

<td height="23"><img width=1 height=1 border=0 alt=""></td>

<td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server 7.10 / AS Java 7.10 </b></font></td>

</tr>

<tr bgcolor="#9DCDFD">

<td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>

</tr>

</table>

<br><br><br><br><br><br>

<p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> Unauthorized</b></font></p>

<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b> Details:</b></td><td valign="top"><PRE>No details available</PRE></font></td></tr></table></font></p>

</body>

</html>

Regards,

Kevin

Former Member
0 Kudos

well,

this tells a lot, doesn't it? HTTP error 401. Unauthorized.

it seems your client program isn't sending any credentials or the credentials are invalid. so probably the PI7.0 user isn't valid on the 7.1 system.

might that be the case?

anton

Former Member
0 Kudos

Hi !

this error may occur due to the authorization problem

also can be due to proxy setting.........

have a look at this thread may be get some clue

Regards

Abhishek

Former Member
0 Kudos

Hi,

I have given all authorizations what was needed. I have even given password while testing the wsdl file.

Any other issue which can be brought out.

Regards,

Kevin