cancel
Showing results for 
Search instead for 
Did you mean: 

EJB Webservice WSDL

Former Member
0 Kudos

Dear All,

I have created a simple Web Service from a EJB Project inside NWDS 7.0 and able to successfully test my Webservice in wsnavigator. Inside the wsnavigator I can see the wsdl url ("https://<server>:<port>/UMEWebService/Config1?wsdl") and when I click on it I see the following xml.

<?xml version="1.0" encoding="UTF-8" ?>

<!--Generated by WSDLDefinitionsParser -->

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="UMEWebServiceWsd" targetNamespace="urn:UMEWebServiceWsd" xmlns:bns0="urn:UMEWebServiceWsd/Config1/document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

<wsdl:import location="https://server:port/UMEWebService/Config1/bindings?wsdl&style=document" namespace="urn:UMEWebServiceWsd/Config1/document" />

<wsdl:service name="UMEWebService">

<wsdl:port name="Config1Port_Document" binding="bns0:Config1Binding">

<soap:address location="https://server:port/UMEWebService/Config1?style=document" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

But this does not seem to me a proper wsdl xml to me.  I am not sure whether this is the correct wsdl for my webservice.

Basically I want to expose my webservice so that it can be consumed by using the WSDL url by other applications. So if any body can help me with what exact steps to follow to expose my EJB as a proper web service so that it can be consumed via WSDL URL.

I am really not able to understand what is the next step.

Thanks and Regards

Ranadhir.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ranadhir,

You can use this WSDL. This not seem a proper wsdl because you cannot see the tags of wsdl like message, operation, bindong, service and so on.. right?

but there is a tag called wsdl:import, this tag is the key of this wsdl. It will import the right WSDL file.

If get the location on the wsdl:import you will see the wsdl that you are spected:

<wsdl:import location="https://server:port/UMEWebService/Config1/bindings?wsdl&style=document" namespace="urn:UMEWebServiceWsd/Config1/document" />

Best Regards

Marcos

Former Member
0 Kudos

Hi,

Thanks for your reply.

Now if I want to consume my webservice do I need to create a Deployable Proxy or I can directly consume the webservice via the WSDL url from wsnavigator.

Thanks and Regards

Ranadhir

junwu
Active Contributor
0 Kudos

where you want to consume it?

you can import ws as model in web dynpro

Former Member
0 Kudos

Hi,

I want to consume this Portal web service in one of our SAP MII application (which is integrated in portal and SSO is established between SAP MII and SAP Portal).

Thanks and Regards

Ranadhir

junwu
Active Contributor
0 Kudos

use soapUI to call it, if it works, it should be ok