cancel
Showing results for 
Search instead for 
Did you mean: 

Problem viewing web service in wsnavigator

Former Member
0 Kudos

I have a portal project with a working portal service and component (for testing the portal service). I've followed the documentation <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/43/037446dcc721ace10000000a1553f6/frameset.htm">Creating a Web Service from a Portal Service</a> to create a web service and deploy it. The problem I'm having is that I can't find any indication that my web service exists on the portal. It doesn't appear in wsnavigator and I can't access the WSDL via URL. Any ideas on what I might be missing?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Scott,

Does the wsdl got created .Check if it is located in your project under

dist/PORTAL-INF/<WebserviceName>.wsdl)

Have you deployed it after generating the wsdl.(Using Quick ParUpload).

I have a pdf with the step by step procedure .Do u want it.?

Provide ur email

Swathi

Former Member
0 Kudos

Thanks for your reply Swathi.

I have three WSDLs that were generated by the above process: <WebserviceName>_DOC_LIT.wsdl, <WebserviceName>_RPC_ENC.wsdl, <WebserviceName>_RPC_LIT.wsdl. I have deployed the project and I can find the deployed files in ...j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\<project name>.

Here is one of the WSDL files(_DOC_LIT)...

<?xml version="1.0" encoding="UTF-8" ?>
<!-- WSDL File generated by the SAP PORTAL ECLIPSE PLUGINS -->
<!-- VERSION : 7.0.0 -->
<wsdl:definitions name="UserAdministrationService" targetNamespace="prt:service:com.bunge.eservices.portalServices.UserAdministrationService"
	 xmlns:intf="prt:service:com.bunge.eservices.portalServices.UserAdministrationService"
	 xmlns:xsd_doc="prt:service:com.bunge.eservices.portalServices.UserAdministrationService/DocumentTypes"
	 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime"
	 xmlns:http="http://schemas.xmlsoap.org/soap/http"
	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	 xmlns:tns0="http://prt.java.soap/schemas"
	 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	 xmlns="http://schemas.xmlsoap.org/wsdl/">

<types>
	<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="prt:service:com.bunge.eservices.portalServices.UserAdministrationService/DocumentTypes" elementFormDefault="qualified">
		<element name="updateUserEservicesGroups_2_param2" nillable="true" type="xsd:string"/>
		<element name="updateUserEservicesGroups_2_param3" nillable="true" type="tns0:List"/>
		<element name="response_updateUserEservicesGroups_1" nillable="true" type="tns0:Integer"/>
		<element name="response_getAllEservicesGroups_2" nillable="true" type="tns0:List"/>
	</schema>
	<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://prt.java.soap/schemas" elementFormDefault="qualified">
		<element name="List" nillable="true" type="tns0:List"/>
		<complexType name="List">
			<sequence>
				<element name="item" type="xsd:anyType" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
	</schema>
</types>
  <wsdl:message name="getAllEservicesGroupsResponse">
    <wsdl:part name="response_getAllEservicesGroups_2" element="xsd_doc:response_getAllEservicesGroups_2"/>
  </wsdl:message>
  <wsdl:message name="updateUserEservicesGroupsRequest">
    <wsdl:part name="updateUserEservicesGroups_2_param2" element="xsd_doc:updateUserEservicesGroups_2_param2"/>
    <wsdl:part name="updateUserEservicesGroups_2_param3" element="xsd_doc:updateUserEservicesGroups_2_param3"/>
  </wsdl:message>
  <wsdl:message name="getAllEservicesGroupsRequest">
  </wsdl:message>
  <wsdl:message name="updateUserEservicesGroupsResponse">
    <wsdl:part name="response_updateUserEservicesGroups_1" element="xsd_doc:response_updateUserEservicesGroups_1"/>
  </wsdl:message>
  <wsdl:portType name="UserAdministrationService">
    <wsdl:operation name="updateUserEservicesGroups" parameterOrder="updateUserEservicesGroups_2_param2 updateUserEservicesGroups_2_param3">
      <wsdl:input name="updateUserEservicesGroups_input0" message="intf:updateUserEservicesGroupsRequest"/>
      <wsdl:output name="updateUserEservicesGroups_output0" message="intf:updateUserEservicesGroupsResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getAllEservicesGroups">
      <wsdl:input name="getAllEservicesGroups_input0" message="intf:getAllEservicesGroupsRequest"/>
      <wsdl:output name="getAllEservicesGroups_output0" message="intf:getAllEservicesGroupsResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="com.sap.portal.prt.soap.UserAdministrationServiceBinding" type="intf:UserAdministrationService">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
   <wsdl:operation name="updateUserEservicesGroups">
        <soap:operation soapAction="prt:service:com.bunge.eservices.portalServices.UserAdministrationService.UserAdministrationService/updateUserEservicesGroups0"/>
      <wsdl:input name="updateUserEservicesGroups_input0">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="updateUserEservicesGroups_output0">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
   <wsdl:operation name="getAllEservicesGroups">
        <soap:operation soapAction="prt:service:com.bunge.eservices.portalServices.UserAdministrationService.UserAdministrationService/getAllEservicesGroups0"/>
      <wsdl:input name="getAllEservicesGroups_input0">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getAllEservicesGroups_output0">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="UserAdministrationServiceService">
    <wsdl:port name="com.sap.portal.prt.soap.UserAdministrationService" binding="intf:com.sap.portal.prt.soap.UserAdministrationServiceBinding">
        <soap:address location="http://localhost:8100/irj/servlet/prt/soap/com.sap.portal.prt.soap.UserAdministrationService?style=doc_lit"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

And yes I would like you to send me the PDF. My email is scott.gill@bunge.com