Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

Re: Connection broken error while service consumer creation

$
0
0

Hi,

 

yes, I downloaded the WSDL file and the corresponding XSDs and tried unsuccessfully to create the web service.

 

Greetings


Is this valid WSDL content?

$
0
0

Hi,

 

I am not able to generate a web service and its endpoint. There are several problems I described in other discussions. Maybe someone can give me a hint if there could be problems with some of the elements from my wsdl => called with parameter ?xsd=xsd0

 

 

-<xs:element name="Upload">

 

 

-<xs:complexType>

 

 

-<xs:sequence>

 

 

<xs:elementminOccurs="0" name="projectId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="viewId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="columns" nillable="true" type="q2:ArrayOfColumnDefinition" xmlns:q2="http://schemas.datacontract.org/2004/07/name.WCF.Interface" />

 

 

<xs:elementminOccurs="0" name="rows" nillable="true" type="q3:ArrayOfRow" xmlns:q3="http://schemas.datacontract.org/2004/07/name.WCF.Interface" />

 

</xs:sequence>

</xs:complexType>

</xs:element>

 

Should the calling

"http://schemas.datacontract.org/2004/07/name.WCF.Interface" result in correct page or is it just for the namespace it doesn't matter if the file exists or not.

 

 

 

 

Or what about:

 

 

-<xs:element name="UploadSimple">

 

 

-<xs:complexType>

 

 

-<xs:sequence>

 

 

<xs:elementminOccurs="0" name="projectId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="viewId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="separator" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="columns" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="rows" nillable="true" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />

 

</xs:sequence>

</xs:complexType>

</xs:element>

 

Is this a correct part of a wsdl?

 

Thanks a lot, Vanessa

connection from ecc ehp5 to service registry

$
0
0

Hi all,

 

I have a ecc ehp5 ABAP system . I have created a webservice  . how can i publish my webservice from soa manager (r3 system) to Service Registry which is configured in a SAP J2EE engine.

 

I require the steps in SOA MANAGER and Required RFC in sm59

 

Regards

Prasad

Enterprise Services from FuBa only for Soap1.0

Re: connection from ecc ehp5 to service registry

Re: How to transport Web service from one environment to another.

$
0
0

Hi Jitendra,

 

Could you please explain me what you mean my end points in detail? I'm new to this transport thing for web services, an example would be perfect.

 

Regards,

Tushar.

Re: Deploying Enterprise Service Provider

Re: Incorrect path prefix in HTTP destination generated from SOAMANAGER

$
0
0

Hi,

 

You can edit the destination in transaction SM59 and modify "Path Prefix".

 

Depending NW version the destination cannot be edited , you may have to delete and recreate it manually in SM 59 with same HTTP Destination (GUID) from soamanager.

 

When you edit /add path prefix and save the HTTP destination , you will receive a warning message.

 

"Query string not allowed"

 

Just force it by hitting "Enter" key .

 

Thank you

Regards

Goverdhan Totawar


Re: Table & WebSERVICE

$
0
0

Hi Akrem,

 

I am not sure if this will help, but you could define a webservice , generate ABAP proxy and implement proxy.

 

In the proxy implementation you can map the proxy structure to a function module or a class the inserts the record into a table,

 

Thank You

Regards

Goverdhan Totawar

Re: Standar ESR Services

$
0
0

Hi Antonio,

 

You need to download XI/PI ESR content for you ECC (Version) system from service market place and import the tpz file into you XI/PI system.

 

This is basically done by basis team.

 

Thank You

Regards

Goverdhan Totawar

Re: Can we cal non sap third party system in webservice

$
0
0

Hi

 

I am not sure if I understand you requirement correctly :

 

 

1. Yes SAP can consume third party Web services ( When you import third party WSDL into SAP we just need consider certain limitation).

 

   http://scn.sap.com/thread/750378

 

2. In your case you need to configure SAP Consumer proxy(Consuming third party service) . (Logical Port or PI)

 

Thank you

Regards

Goverdhan Totawar

Re: Enterprise Services from FuBa only for Soap1.0

$
0
0

Hi Gov,

 

thx for ur reply. I know that select option in SOAMANAGER.

 

zkita_search.jpg

 

but...

as u can see the WSDL-URL for that binding...here ist the source!

zkita_search1.jpg

zkita_search3.jpg

I thought we have the option at design time !

:-(

 

Thx Gov

 

--henkelbernd

Re: Is this valid WSDL content?

$
0
0

Hi, the problem is solved. The connection between the sap system and the other server was blocked by the firewall.

 

Greetings

Calling .net SOAP web service with user/pass + certificate auth

$
0
0

Hi,

 

i was told to call a web service that is developed in .net. I can use the web service without any problems.

The next step is to set user/pass as authentication and use SSL to encrypt the connection.

Do you know some good tutorials on how to create the correct certificate and distribute it to sap and the windows machine?

I found a lot of tutorials but they are all really confusing and I am searching for good ones.

 

I am sorry for the crossposting but I am not sure about the right place for this question.

http://scn.sap.com/thread/3391748

 

Greetings, Vanessa

Re: XML Serialization Error- While testing BAPI turned Web service

$
0
0

Hi Gourav Khare,

 

I have created WSDL file through function module in SAP-ECC 5.0v.

I have followed below steps:

Crated FM (SE37)

Crated Web-service (SE37)

Generated WSDL file using (WSADMIN)

 

And consumed WSDF file in SOAP UI (SOAP UI 4.5.2 Trailer version)

 

Problem is: while consuming WSDL file in  SOAP UI I getting  ‘Serialisation failed’

 

For your reference I have furnished xml string below.

 

SOAP UI Input:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">

<soapenv:Header/>

<soapenv:Body>

<urn:YSDF_INV_PRINT_FINAL_RFC_WS_N>

<!--Optional:-->

<PWR_INVOICE>

<INVOICE_SHIPPED_LINE>

<!--Zero or more repetitions:-->

<item>

<POSITION1></POSITION1>

<SALES_PART></SALES_PART>

                  <PART_DESC></PART_DESC>

<PRICE></PRICE>

<QUANTITY></QUANTITY>

<CUSTOMER_TAX_NO></CUSTOMER_TAX_NO>

<PROD_NONINVENTORY></PROD_NONINVENTORY>

<PROD_TAXABLE></PROD_TAXABLE>

<TAX_LEVEL></TAX_LEVEL>

</item>

</INVOICE_SHIPPED_LINE>

<INVOICE_NO></INVOICE_NO>

<ORDER_NO></ORDER_NO>

<DATE_PRINTED></DATE_PRINTED>

<DIV_CD></DIV_CD>

            <LAST_COST_INVOICE></LAST_COST_INVOICE>

<DELETE_ZERO_COST></DELETE_ZERO_COST>

<DELETE_NON_SHIPPED></DELETE_NON_SHIPPED>

<GLOBALREF></GLOBALREF>

<ORIGIN></ORIGIN>

<ORIGINID></ORIGINID>

</PWR_INVOICE>

</urn:YSDF_INV_PRINT_FINAL_RFC_WS_N>

</soapenv:Body>

</soapenv:Envelope>

 

SOAP UI Output:

 

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

<soap-env:Body>

<soap-env:Fault>

<faultcode>soap-env:Client</faultcode>

<faultstring xml:lang="en">Serialisation failed</faultstring>

<detail>

<n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">

<MainName>/1BCDWB/WSS0130716111624448000</MainName>

<ProgName>/1BCDWB/WSS0130716111624448000</ProgName>

<Line>8</Line>

<Valid>X</Valid>

<ReferenceFault>

<DescriptionText>Error accessing the ref. node 'INVOICE_ID'</DescriptionText>

<RefName>INVOICE_ID</RefName>

</ReferenceFault>

<Caller>

                  <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>

<Method>IF_SXML_PART~DECODE</Method>

<Positions>1</Positions>

</Caller>

</n0:SimpleTransformationFault>

</detail>

</soap-env:Fault>

</soap-env:Body>

</soap-env:Envelope>

 

And one more things are

I don't know the exact reason, but now the WSDL is working fine. No Idea, will it be consistent.

 

No changes in import and export parameters of RFC and no change in code, even if the logic is changed it should not affect the output on SOAP UI but in my case it does.

 

Wonder why all this happens, I cannot explain the exact reason technically because my RFC works fine every time, only issue is with SOAP UI.

 

From SAP point of view FM is working fine, and input parameter of FM is optional, validations are done by the programming logic and it will capture the message and its details with respect to input data.

 

I am not sure SOAP will work consistently and we are using ECC 5.0 most of the t-code not there like "SOAMANAGER" and all.  

 

 

Kindly help me on this

 

Thanks & Regards,

   Akshath.L.T


Re: ECC 6.0 integration with MS Dynamics CRM 2011 on-demand thru PI

$
0
0

Ellery,

according to my poor background, mainly the problem is to deal with a  .NET system (CRM) using a Java system (PI), and this complicated by the fact that with CRM on demand you have to manage different step to be performed before integrating the data (including the authentication that is not basic..), meaning that you need to invoke several Web Services before being able to post the data.

 

In fact most of the people in "our situation" is using biztalk because MS CRM SDK comes with a set of .NET classes and methods that can be used out of the box by Biztalk to easily manage all the mentioned steps...and even easier with Scribe where all is already available by standard.

 

Not impossible to use PI for the integration with MS CRM, but you have to orchestrate (creating proper PI developments) the following steps:

1. Connection to CRM (passing thru Live/Office365 to get the token..)

2. Invoke the CRM Discovery Service to get the available CRM Services

3. Invoke the CRM Metadata Service to get the "WSDL" for the choosen service

4. In case consume other services to get the situation into CRM and properly manage deltas

5. finally...Invoke the CRM service to post the data

 

Good luck...let me know if you succeed with this...let's say....oppurtunity!

Ciao

What is the best way to create Web Services?

$
0
0

Hello Experts,

 

There are several ways to create (Provide) SOAP based SAP Web Services.

 

1. Using ESR (Enterprise Service Repository) and provider proxy method.

2. Using function group or function module and then creating endpoints using SOAMANAGER.

3. On any RFC FM using SICF services (RFC and WSDL11). (All services using same endpoint sap/bc/soap/rfc, generating WSDL using WSDL11 service).

 

I would like to know what is the best way to provide web service and why?

I personally prefer the ESR based proxies. But my current client doesn't have ESR installed so I would go for SOAMANAGER to create endpoints.

 

Can anyone please comment on the benefits of using Soamanager based services over SICF RFC service for RFC FMs.

 

Thanks,

Anand

Re: SOAP:1.008 SRT: Couldn't create Object

$
0
0

Can you please help in resolving the issue. we are getting the below error -

 

SRT: Couldn't create Object: ICF Error when creating HTTP client object by Config for URL : ARGUMENT NOT FOUND

Re: SRT: Plain SOAP: Reliable messaging (RM) configured, but no Message ID and no WSRM assertion provided.

$
0
0

Hi Goverdhan,

 

In SOAMANAGER, I selected 'service defination' and I searched for "BusinessPartnerSUITEBulkReplicateRequest_In" then I created a service and then generated the WSDL. When I'm trying to use the WSDL in SOAPUI for testing I'm getting the error as described initially. I would want to call this WSDL from SAP as well as from NON-SAP.

 

Are you suggesting that I create a consumer proxy and then use the WSDL in SOAPUI or other programs..

 

Regards,

Tushar.

Re: SRT: Plain SOAP: Reliable messaging (RM) configured, but no Message ID and no WSRM assertion provided.

$
0
0

Hi

 

For testing from soap UI your endpoint should look in below format .

 

http://host:port/sap/bc/srt/xip/sap/xyz_in/705/xyz_in/binding1_xyz_in?MessageId=${=java.util.UUID.randomUUID()}

 

So once WSDL is imported edit the endpoint to add Message Id part.

or

 

http://host:port/sap/bc/srt/xip/sap/xyz_in/705/xyz_in/binding1_xyz_in?MessageID=${=java.util.UUID.randomUUID()}

 

this piece of code will generate random UUID in soap UI ${=java.util.UUID.randomUUID()}.

 

 

For testing from SAP you need to follow the steps put in my previous response.

Viewing all 1056 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>