Current Position:Home > Error while creating a deployable proxy for a URL in NWDS

Error while creating a deployable proxy for a URL in NWDS

Update:10-11Source: network consolidation
Advertisement
Hi ,
There is a requirement for calling a webservice in the .NET platform from JAVA using NWDS. The webservice of the server is pinged using the URL of the webservice. when the URL is passed in the WS navigator of CRD ( that is Development Server) ,  the response is retreived successfully .  The version of NWDS is 7.0.23.
we are facing problem when we are trying to create a Deployable proxy in NWDS by using the following steps :
1) Create a Development Component
2) Select the Deployable Proxy
3) Create the Client Proxy Defintion of the created DC
At step 3 , when we giving the url or WSDL link  like "http:// www3.authoring.syngenta/newswebservice.asmx?WSDL" (this is just for example) , it is showing as "Invalid wsdl or wsdl not found " . so  that we are not able to procees further.
When we are trying to create proxy the for the WSDL link like " http:// www.authoring.syngenta/newswebservice.asmx?WSDL" , we are able to create successfully.
can anyone suggest why we are able to create the proxy for the URL "http:// www.authoring.syngenta/newswebservice.asmx?WSDL" and not for the other URL.
Any pointers or suggestions are very helpful.
Thanks and Regards,
Sreedevi

The Best Answer

Advertisement
Late response I know, but I have solved a similar problem recently and thought I would share.
Firstly, the problem is not with the namespace. The "Namespace ..." part is just stating the namespace the "Incorrect Value" has. So this error is complaining about the value "Unknown" - which isn't very helpful.
It appears the SAP SE80 importer does not like elements like the following because it can't understand <s:element ref="s:schema" />. It appears this is a common thing to be included in .NET generated WSDLs.
 <s:element minOccurs="0" maxOccurs="1" name="GetCursDynamicResult">      <s:complexType>          <s:sequence>               <s:element ref="s:schema" />               <s:any />          </s:sequence>     </s:complexType></s:element> 
SAP will also not like this example as it does not support mixed content (see: http://www.w3schools.com/schema/schema_complex_mixed.asp)
<s:element minOccurs="0" maxOccurs="1" name="SaldoXMLResult">
     <s:complexType mixed="true">
          <s:sequence>
               <s:any />
          </s:sequence>
     </s:complexType>
</s:element>
You can "Fix" the problem in both cases by removing the offending text in a local copy of the WSDL file so remove line 4 in the first example and change line 2 in the second to <s:complexType> the proxy can then be generated. No idea if the resulting service will be fully operational though!
  • Error while creating a deployable proxy for a URL in NWDS Update:10-11

    Hi , There is a requirement for calling a webservice in the .NET platform from JAVA using NWDS. The webservice of the server is pinged using the URL of the webservice. when the URL is passed in the WS navigator of CRD ( that is Development Server) , 

  • Error when deploy a deployable proxy Update:11-30

    Hi all     I'm using SP15.     I follow step by step the wizard to create a deployable proxy to implemente a client web services.     I select Local File System or URL, and I can import the wsdl file, build the project, but when I try to deploy.....

  • Validation error while creating Web Service Proxy. Update:10-11

    Hi, I'm trying to create Web Service Proxy. But I'm stuck with a Validation error model error: type +"{http://xmlns.oracle.com/2001/XMLSchema/DOM}+ +org.w3c.dom.Document" not found.+ I'm using "Create Web Service Proxy" wizard. There a

  • Creating new Deployable proxy project Update:11-30

    Hi, I have received a Web Service proxy project which I have to import / create it as local project in my NWDS. But I am not sure which type of project to create. I have entire project structure available with me. From what I have with me, is there a

  • Error while creating a web proxy service using wsdl Update:10-11

    Hi folks, In my use case I should create a web service proxy using the wsdl. While I am creating the web service proxy I am getting some error like the binding method does not have the SOAP extension. I am giving the error below for more clarity Caus

  • Error while creating a client proxy for CBR.RU Update:10-11

    Hi! I need to consume web service. Here is the link: http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx?WSDL I tried to make an own client proxy with SE80 transaction. (edit object->enterprise services -> client proxy -> create) After completing w

  • Error while creating web services proxy in Jdev. 10.1.3 Update:10-11

    Hello, I created a web service using jdev.10.1.2 and created successfully a ws proxy with the the same version. However when I try to generate a ws proxy using 10.1.3, I am getting error: The WSDL document is invalid for the following reason: the wsd

  • Error when creating Web Service Proxy Update:10-11

    Hi', I am creating a web service proxy to call a web service (OSB) "http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html#t5", I am making a client to call a OSB proxy and I am able to see the WSDL in the IE, however when I

  • Servlet + deployable proxy (401 error) Update:11-30

    hi, i'm trying to get my adaptive webservice running inside a servlet. so i created an deployable proxy etc. error -> Service call exception; nested exception is:      com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException

  • Deployable proxy does not provide needed types Update:11-30

    Hi everybody, i have created a deployable proxy with NWDS using this <a href="http://www.webservicex.net/WeatherForecast.asmx?WSDL">WSDL</a>. Now i would love to have a client bean that calls the service via the proxy. I tried to do