cancel
Showing results for 
Search instead for 
Did you mean: 

Soap request for Web service

Former Member
0 Kudos

Hi Experts,

I am doing a Proof of Conception on a SIEBEL web service that is consumed by an abap application.

I followed the SDN Blog : /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap(BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP).

The Proxy object is correctly generated.

But when I test the proxy, I get a result from my Siebel system that says that the web service does not exist.

SoapFaultCode:5 There is no active Web Service with operation named 'http://siebel.com/CustomUI:ATDDQMatchWS_Input'.(SBL-EAI-04313)

The problem is that the method I am calling is not ATDDQMatchWS_Input but ATDDQMatchWS...

I have been debugging the code and according to me the SOAP request that is generated is wrong...

This is the WSDL I used to create the proxy :

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

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsdLocal0="http://www.siebel.com/xml/UCMAccountSourceDataAndHistory" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://siebel.com/CustomUI" targetNamespace="http://siebel.com/CustomUI">

<types>

<xsd:schema elementFormDefault="qualified" xmlns:xsdLocal0="http://www.siebel.com/xml/UCMAccountSourceDataAndHistory" attributeFormDefault="unqualified" targetNamespace="http://www.siebel.com/xml/UCMAccountSourceDataAndHistory" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:annotation>

<xsd:documentation>Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation>

</xsd:annotation>

<xsd:element name="InsertUCMAccount" type="xsdLocal0:InsertUCMAccount"/>

<xsd:complexType name="InsertUCMAccountTopElmt">

<xsd:sequence>

<xsd:element name="InsertUCMAccount" maxOccurs="1" minOccurs="1" type="xsdLocal0:InsertUCMAccount"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="InsertUCMAccount">

<xsd:sequence>

<xsd:element name="Account" maxOccurs="1" minOccurs="1" type="xsdLocal0:Account"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="Account">

<xsd:sequence>

<xsd:element name="Name" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="UCMAccountId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="UCMExternalId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="PartyUId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="UCMTypeCode" maxOccurs="1" minOccurs="1" type="xsdLocal0:string30"/>

<xsd:element name="UCMUId" maxOccurs="1" minOccurs="1" type="xsdLocal0:string100"/>

<xsd:element name="PrimaryAccountCity" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="PrimaryAccountCountry" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="PrimaryAccountPostalCode" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="PrimaryAccountState" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="PrimaryAccountStreetAddress" maxOccurs="1" minOccurs="0" type="xsdLocal0:string200"/>

<xsd:element name="ListOfUcmAccountAddressSourceDataAndHistory" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfUcmAccountAddressSourceDataAndHistory"/>

<xsd:element name="ListOfUcmAccountDedupResults" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfUcmAccountDedupResults"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="ListOfUcmAccountAddressSourceDataAndHistory">

<xsd:sequence>

<xsd:element name="UcmAccountAddressSourceDataAndHistory" maxOccurs="unbounded" minOccurs="0" type="xsdLocal0:UcmAccountAddressSourceDataAndHistory"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="UcmAccountAddressSourceDataAndHistory">

<xsd:sequence>

<xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Created" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="CreatedBy" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Updated" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="UpdatedBy" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="ConflictId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="ModId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="AccountId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="AddressCity" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="AddressName" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="AddressStateProvince" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="AddressType" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="City" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="CityCode" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Continent" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Country" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="County" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="ExternalSystemId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="ParRowId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="ParentType" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="PostalCode" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="PrimaryFlg" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="Province" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="State" maxOccurs="1" minOccurs="0" type="xsdLocal0:string10"/>

<xsd:element name="StateProvinceAbbreviation" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="StateProvinceCode" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="StreetAddress" maxOccurs="1" minOccurs="0" type="xsdLocal0:string200"/>

<xsd:element name="StreetAddress2" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="UCMBVId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="UCMExternalId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="UCMTypeCode" maxOccurs="1" minOccurs="1" type="xsdLocal0:string30"/>

<xsd:element name="UCMUId" maxOccurs="1" minOccurs="1" type="xsdLocal0:string100"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="ListOfUcmAccountDedupResults">

<xsd:sequence>

<xsd:element name="UcmAccountDedupResults" maxOccurs="unbounded" minOccurs="0" type="xsdLocal0:UcmAccountDedupResults"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="UcmAccountDedupResults">

<xsd:sequence>

<xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Created" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="CreatedBy" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Updated" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="UpdatedBy" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="ConflictId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="ModId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="Account2" maxOccurs="1" minOccurs="1" type="xsdLocal0:string100"/>

<xsd:element name="AccountLocation" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="AccountId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="City2" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="Comments" maxOccurs="1" minOccurs="0" type="xsdLocal0:string255"/>

<xsd:element name="Country" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="DedupComments" maxOccurs="1" minOccurs="0" type="xsdLocal0:string250"/>

<xsd:element name="DupObjectId" maxOccurs="1" minOccurs="1" type="xsd:string"/>

<xsd:element name="ExternalSystemId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="MainPhoneNumber2" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="MergeFlag" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="Name2" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="ObjName" maxOccurs="1" minOccurs="1" type="xsdLocal0:string75"/>

<xsd:element name="PartyUId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="PostalCode" maxOccurs="1" minOccurs="0" type="xsdLocal0:string30"/>

<xsd:element name="PrimaryAddressId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="PrimaryOrganizationId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="PrimaryPositionId" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="RequestId" maxOccurs="1" minOccurs="1" type="xsd:string"/>

<xsd:element name="SourceId" maxOccurs="1" minOccurs="1" type="xsd:string"/>

<xsd:element name="State2" maxOccurs="1" minOccurs="0" type="xsdLocal0:string50"/>

<xsd:element name="StreetAddres2" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

<xsd:element name="StreetAddress" maxOccurs="1" minOccurs="0" type="xsdLocal0:string200"/>

<xsd:element name="TotalScore" maxOccurs="1" minOccurs="0" type="xsd:string"/>

<xsd:element name="UCMExternalId" maxOccurs="1" minOccurs="0" type="xsdLocal0:string100"/>

</xsd:sequence>

</xsd:complexType>

<xsd:simpleType name="string250">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="250"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string90">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="90"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string2000">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="2000"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string50">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="50"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string60">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="60"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string10">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="10"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string255">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="255"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string75">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="75"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string15">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="15"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string40">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="40"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string30">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="30"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string5">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="5"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string25">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="25"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string200">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="200"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string100">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="100"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string20">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="20"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="string4">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="4"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:schema>

</types>

<message name="ATDDQMatchWS_Input">

<part name="_xmlIn" type="xsdLocal0:InsertUCMAccountTopElmt"/>

</message>

<message name="ATDDQMatchWS_Output">

<part name="_xmlOut" type="xsdLocal0:InsertUCMAccountTopElmt"/>

</message>

<portType name="ATDDQMatchWS">

<operation name="ATDDQMatchWS">

<input message="tns:ATDDQMatchWS_Input"/>

<output message="tns:ATDDQMatchWS_Output"/>

</operation>

</portType>

<binding name="ATDDQMatchWS" type="tns:ATDDQMatchWS">

<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

<operation name="ATDDQMatchWS">

<soap:operation soapAction="rpc/http://siebel.com/CustomUI:ATDDQMatchWS"/>

<input>

<soap:body use="literal" namespace="http://siebel.com/CustomUI"/>

</input>

<output>

<soap:body use="literal" namespace="http://siebel.com/CustomUI"/>

</output>

</operation>

</binding>

<service name="ATDDQMatchWS">

<port name="ATDDQMatchWS" binding="tns:ATDDQMatchWS">

<soap:address location="http://10.255.250.81/eai_enu/start.swe?SWEExtSource=WebService&amp;SWEExtCmd=Execute&amp;UserName=sadmin&amp;Password=admins_dev"/>

</port>

</service>

</definitions>

This is the SOAP request that is generated :

- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

- <soap-env:Header>

- <n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/">

<TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Full</TraceLevel>

</n0:Trace>

<messageId xmlns="http://www.sap.com/webas/640/soap/features/messageId/">uuid:484E89A8-5A5C-0214-E100-80000AFFFACA</messageId>

</soap-env:Header>

- <soap-env:Body>

- <nr2:ATDDQMatchWS_Input xmlns:nr2="http://siebel.com/CustomUI" xmlns:nr1="http://www.siebel.com/xml/UCMAccountSourceDataAndHistory">

- <nr1:InsertUCMAccount>

- <nr1:Account>

<nr1:UCMTypeCode />

<nr1:UCMUId />

</nr1:Account>

</nr1:InsertUCMAccount>

</nr2:ATDDQMatchWS_Input>

</soap-env:Body>

</soap-env:Envelope>

Can anyone help ????

Thanks

Nicolas.

Edited by: TAIS Consultant on Jun 10, 2008 5:33 PM

Edited by: TAIS Consultant on Jun 10, 2008 5:34 PM

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Experts,

I have solved the problem ... to be fully effective, the level of support package must be SP14 on the SAP_BASIS and SAP_ABA...

Nicolas

Former Member
0 Kudos

rpc/http://siebel.com/CustomUI:ATDDQMatchWS is the value of the Soap Action

Nicolas

Former Member
0 Kudos

where do you get this information ?

Nicolas

Former Member
0 Kudos

Hi,

Action parameter is always under Opertaion tag of your wsdl. In your case it is

Action = rpc/http://siebel.com/CustomUI:ATDDQMatchWS

<operation name="ATDDQMatchWS">

<soap:operation soapAction="rpc/http://siebel.com/CustomUI:ATDDQMatchWS"/>

<input>

<soap:body use="literal" namespace="http://siebel.com/CustomUI"/>

</input>

<output>

<soap:body use="literal" namespace="http://siebel.com/CustomUI"/>

</output>

</operation>

It looks to me you are trying to invoke RC encoded webservice which is not supported in XI.

Reward points if find useful

Thanks

Amit

Former Member
0 Kudos

in your SOAP receiver adapter.. there's a parameter SOAP Action.. what's the value in it?

Peter

Former Member
0 Kudos

quote :

in your SOAP receiver adapter.. there's a parameter SOAP Action.. what's the value in it?

What do you mean by SOAP reveiver adapter ?

Where is the SOAP Action parameter ? Is it in the Soap Request ???

Nicolas

Former Member
0 Kudos

no one has had this kind of Problems ???

Nicolas

Former Member
0 Kudos

Hi,

what's your value for Action parameter in SOAP adapter?

Peter

Former Member
0 Kudos

In the soap :

<nr2:ATDDQMatchWS_Input xmlns:nr2="http://siebel.com/CustomUI" xmlns:nr1="http://www.siebel.com/xml/UCMAccountSourceDataAndHistory">

it should be :

<nr2:ATDDQMatchWS xmlns:nr2="http://siebel.com/CustomUI" xmlns:nr1="http://www.siebel.com/xml/UCMAccountSourceDataAndHistory">

according to the structure of the WSDL.

Nicolas

Former Member
0 Kudos

HI,

The details you had mentioned indicates that, the Web service is not able to find.

Have you tried to put the target URL in browser of Internet Explorer and to test whether the web service is working or not

Thanks

Swarup

former_member187563
Contributor
0 Kudos

hi,

Your soap request looks fine.

According your exception your webservice may not be functional,first check whether that webservice is there or not.And have you imported the wsdl properly.

regards,

ujjwal kumar