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

Configure web service + logical port

0
0

Hi guys!

 

I have to consume a web service which is installed on a remote System (MS SQL Server). After some issues (activate services in SICF, configure firewall) I was able to generate the client proxy in SE80. For doing this I used the URL to the WSDL file. You can find the WSDL file attached to this post.

 

Right after this I created the Logical port using Transaction SOAMANAGER (as LPCONFIG is obsolete). I wanted to generate the Logical port based on the WSDL again so I used the the same URL as in SE80. But this time I receive an error (I faced this error many times in different situations in SOAMANAGER too).

 

Error: HTTP: Error in Interface for Management of HTTP destinations

WSDL_ERROR.png

So I uploaded the WSDL by hand and I coudl generate the logical point. I can find my connection in SM59 (interessting: even if I received the error before SOAMANAGER creates a Connection in SM59 but I don't find it in SOAMANAGER).

 

When I perform a Connection test for my SM59 Connection (created via SOAMANAGER using the Manual upload of the WSDL file) I receive an error: HTTP/1.1 400 Bad Request

 

SM59_ERROR.png

 

I have tested my Client proxy in SE80 using the same Logical point. As expected I receive here an error too. The error message is not very helpful to me (I have implemented the note 1424747).

 

SE80_ERROR.png

 

Same error I reveive in my test report where I consume the web service.

 

TESTREPORT_ERROR.png

Does anybody has any idea about the problem? Could it be that a Service in SICF is missing so that the Logical point is not generated proper? Could it be that the firewall still blocks something? Or is it an error that occurs in the remote System and I simply don't reveive a clear error message?

 

Thanks a lot and kind regards,

Florian


What is SAP ESB (Enterprise Service Bus)?

0
0

Hi fellow sdners gurus…  I have been reading threads about SAP SOA and ESB. 

I do not want to start a debate on wether XI is an ESB, but more of a statement to what is SAP ESB (if XI it is, then be it).

 

1) What is SAP ESB (Enterprise Service Bus) today (I could not find a clear answer to is)? 

2) Who uses this SAP ESB in production currently and what kind of environment (i.e. strictly SAP backend systems, or combination of various vendors’ backend systems)?

 

Can someone share some light on this topic?

 

As a reminder, an ESB is expected to exhibit the following characteristics (source Wikipedia):

•     It is usually operating-system and programming-language agnostic; for example, it should enable interoperability between Java and .NET applications.

•     It uses XML (eXtensible Markup Language) as the standard communication language.

•     It supports web-services standards.

•     It supports various MEPs (Message Exchange Patterns) (e.g., synchronous request/response, asynchronous request/response, send-and-forget, publish/subscribe).

•     It includes adapters for supporting integration with legacy systems, possibly based on standards such as JCA

•     It includes a standardized security model to authorize, authenticate and audit use of the ESB.

•     To facilitate the transformation of data formats and values, it includes transformation services (often via XSLT or XQuery) between the format of the sending application and the receiving application.

•     It includes validation against schemas for sending and receiving messages.

•     It can uniformly apply business rules, enriching messages from other sources, the splitting and combining of multiple messages and the handling of exceptions.

•     It can provide a unified abstraction across multiple layers

•     It can route or transform messages conditionally, based on a non-centralized policy (i.e. no central rules-engine needs to be present).

•     It is monitored for various SLA (Service Level Agreement) threshold message latencies and other SLA characteristics.

•     It (often) facilitates "service classes," responding appropriately to higher and lower priority users.

•     It supports queuing, holding messages if applications are temporarily unavailable.

 

Your help is greatly appreciated.

 

Kind Regards,

Jean-Michel

Unable to Find The Created Web Service Definition in ECC

0
0

Dear All,

 

I am creating a RFC function module from which I am creating a web service definition using the wizard.

 

In Configure Service 'soap:runtime:application:rfc:710' is present. The definition creation is ending without a hitch.

 

When I go to WSCONFIG, I enter this created definition name in both 'service definition' and 'variant' and click on 'create' icon. Message 'No released service exists' comes.

 

Also in WSADMIN, the created definition does not reflect under 'SOAP Application for RFC-Compliant FMs'.

 

What am I missing here.

 

Suggestions are most welcome!

 

Regards,

 

Prosenjit.

FUBA -> webservice -> call webservice from outside (not SAP)

0
0

Hi Experts,

 

I have in SAP BW an remote FUBA and created a webservice.

How can I call the webservice from outside (not SAP) now.

Do I need user and password and...

 

Thanks for support.

 

BR,

Christoph

Consume web service using EJB

0
0

I am trying to consume a web service by following the tutorial listed here:

http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm

 

I've created and deployed a proxy to the server.

I am now creating an EJB to call the proxy and am having trouble with the following lines of code listed in the tutorial:

 

InitialContext ctx = new InitialContext();

CreditLimitCheck obj = (CreditLimitCheck)

     ctx.lookup("java:comp/env/CreditLimitCheckProxy");

CreditLimitCheckViDocument port = (CreditLimitCheckViDocument)

obj.getLogicalPort("DEFAULTPort_Document",

CreditLimitCheckViDocument.class);

this.port = port;

 

I'm not sure which objects the CreditLimitCheck and CreditLimitCheckViDocument are referring to?

SAP EAF Certification

0
0

Hi,

 

I am an ABAPer and i want to write SAP EAF Certification.

 

As an ABAPer, Am i eligible for it?

 

What pre requisite it has got?

Exception occurred in communication framework:Error in HTTP Framework:404Not Foundhttp://xxxxxx.xxxx.:4105

0
0

Hi,

I’m trying to consume TIBCO web service, for that I have tried to create Proxy class by providing required endpoint url. then  I’m getting below  error message.

 


Exception occurred in communication framework:Error in HTTP Framework:404Not Foundhttp://xxxxxx.xxxx.:4105

 

What might be the issue with this.. any idea guys?

 

 

Regards

Srinivas

WSDL url change in quality and production evironment.

0
0

Hello All,

 

We are consuming a WSDL in our application. We created a consumer proxy in dev.

 

After transporting this we have to change the wsdl url we used in the consumer proxy.

 

Please help us to know what is the process for this. Since it is transportable activity we cant changes this url in Q environment.

 

Any quick help on this will be very helpful.

 

Thanks and Regards

Shanto Aloor


abap web service issue in consuming in Sharepoint

0
0

We have created  a web service on function module and while consuming the same in sharepoint we are getting an error "there was an  error downloading 'http://hostname:/sap/bc/srt/rfc/sap/zsp_vig_emp/300/zsp_vig_emp/zsp_vig_emp/_vti_bin/listdata.svc/$metadata' request failed  with empty response metadata contains a reference which cannot be resolved http://hostname:/sap/bc/srt/rfc/sap/zsp_vig_emp/300/zsp_vig_emp http resquest  is unauthorized with client authorization scheme 'Anonymous'. Authentication header received from server was 'Basic realm=' sap netweaver server. Kindly guide how to resolve the issue. Regards Sanjay

Web Service

0
0

Hello,

 

I would like to implemente for IS-U this request:

Request Utilities Device Smart Meter Creation

Technical name : UtilitiesDeviceERPSmartMeterCreateRequest_Out

 

Does anyone know what to do?

 

Thanks you beforehand.

 

KB.

Movement type 261 with SAP ES ECC_GOODSMOVEMENTCRTRC1

0
0

Hello,

 

with nonSAP Application I'm creating GoodsMovement type 261 (consumption by production order) by SAP Enterprise Service ECC_GOODSMOVEMENTCRTRC1 / GoodsMovementERPCreateRequestConfirmation_In_V1 namespace http://sap.com/xi/APPL/Global2

 

http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=6306CBB9A31611DC2B8D000F20FCB6A9&packageid=…

 

Everything seem's to be ok in the backend.

The Movement is listed in t-code co03 -> goto -> documented goods Movements.

 

But

* the movement is marked as unplanned consumption

* the withdrawn quantity in co03 component overview is not increased

* the reserved material quantity is not reduced

 

There is no data element in the service request message to submit a reservationID.

 

Has anybody an idea, why withdrawn quantity and reserved quantity are not recalculated?

Is anything wrong or missing in the request message?

Is it the wrong service for movement type 261?

Is there a setting in the customizing of the backend which leads the backend to recalculate withdrawn and reserved quantity automatically when receiving a 261 movement?

 

Regards.

Roland

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"   xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">   <soapenv:Header/>   <soapenv:Body>      <glob:GoodsMovementERPCreateRequest_sync_V1>         <MessageHeader>            <UUID>35b1f829-b550-4dc0-b378-bb0c1ee605d7</UUID>         </MessageHeader>         <GoodsMovement>            <PostingDate>2016-01-12</PostingDate>            <GoodsMovementCategoryCode>3</GoodsMovementCategoryCode>            <Item>               <GoodsMovementTypeCode>261</GoodsMovementTypeCode>               <PlantID>1234</PlantID>               <InventoryManagedLocation>                  <InternalID>SLOC</InternalID>               </InventoryManagedLocation>               <Material>                  <InternalID>4711</InternalID>                  <BatchID>0123456789</BatchID>               </Material>               <Quantity>                  <EntryQuantity unitCode="PCE">1</EntryQuantity>               </Quantity>               <AccountingCodingBlockDistribution>                  <AccountingCodingBlockAssignment>                     <ProfitCentreID>1234-123</ProfitCentreID>                     <ProductionOrderReference>                        <ID>7284701</ID>                     </ProductionOrderReference>                  </AccountingCodingBlockAssignment>               </AccountingCodingBlockDistribution>            </Item>         </GoodsMovement>      </glob:GoodsMovementERPCreateRequest_sync_V1>   </soapenv:Body></soapenv:Envelope>

ODATA_CALLING_ERROR

0
0

Hello All,

 

I have created standard scenario of onboarding in SAP process orchestration between SAP HCM and success factors.
I have created 1 sender channel and 2 receiver channel.
Sender channel is configured using SOAP http XI 3.0
One receiver channel is used for Begin session , cancel session and getnewhire records with SFSF adapter(Axis Protocol)
Other receiver channel is used for onboarding candidate info using SFSF adapter with SFSF adapter(odata protocol)

 

While executing the scenario ,I am getting error as 'ODATA_CALLING_ERROR:OData call failed' in sxmb_moni.

 

In monitoring screen , the exact error I am getting is:


ODATA_CALLING_ERROR:OData call failed {0}.
com.sap.aii.adapter.lib.component.odata.exception.OsciException: 500 : HTTP/1.1 : Internal Server Error
Message could not be forwarded to the JCA adapter. Reason: Permanent error: Adapter call failed. Reason: com.sap.aii.af.lib.ra.cci.XIAdapterException: ODATA_CALLING_ERROR:OData call failed {0}.
Message could not be forwarded permantely to the JCA adapter. Reason: ODATA_CALLING_ERROR:OData call failed
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.lib.ra.cci.XIAdapterException: ODATA_CALLING_ERROR:OData call failed {0}
Exception caught by adapter framework: ODATA_CALLING_ERROR:OData call failed {0}
Transmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.lib.ra.cci.XIAdapterException: ODATA_CALLING_ERROR:OData call failed {0}


Please help to solve this issue.

WebService - Recreate the service and binding in SOAMANAGER for exisiting service

0
0

Dear SAP Friends,

 

I have added the new field name Plant in my function module, as which already have existing service . for that I have recreated the service

and binding in SOAMANAGER with out any error message.

But in the WSDL URL XML file output, new added field plant is not coming, only the existing fields are came.

For your reference, I have added the screenshot steps in the
attachment, what i have tried.

 

Can you please check and let me know what I have missed while binding.

 

Regards,

Kannan

How to regenerate WSDL in ERP and NWDS?

0
0

Hello,

 

I have an application in web dynpro working with a Web Service as model that come from a Custom ABAP Function. Yesterday we add one more input/import field in the ABAP Function. Now I have to replicate the change to the WD application.

 

I have 2 questions of how should I proceed:

 

1. I have to go to SE37, search the Function and recreate the Web Service with other name? The system dont let me create the web service with the same name.

 

2. I have to delete the model from the web dynpro app and create a new one with the new WSDL?

 

Kind Regards

SU

Error While Consuming .Net Web Service.

0
0

Dear All,

 

I have facing an error while consuming .Net web service By using the following path,

 

Se80 > Edit Object > Client Proxy > Create > URL/HTTP CheckBox > URL: http://ip-address:Port#/Service1.asmx?WSDL  > Package-Name + Prefix + Request# > Complete .

 

While Click on complete button it gives an Exception which is mentioned below,

 

 

Not implemented

Exception of class CX_SIDL_INTERNAL_ERROR

 

 

Please give me proper solution, How to resolve this exception?

 

 

 

Regards,

Muhammad Taha


Units of Measure in Enterprise Services

0
0

Hi,

 

I tested some SAP enterprise services for material handling and production orders.

So far every time an unit of measure was used by an enterprise service it was the ISO-Code, which is defined in T006 for the internal UOM in the backend.

 

Now I'm trying to create ProductionConfirmation for production order by SAP Enterprise Service ECC_PRODUCTIONCONFCRTRC.

 

The following message, sent by the shop floor system, to the service at sap backend, creates a partial time ticket for operation 0010 of production order 7284094 for 12 pieces yield and a goods receipt movement for 12 pieces of batch 0728409400

 

The odd thing is, that I have to use unitcode PCE for the time ticket section and unitcode ST for the goods movement.

 

ST is the internal UOM in T006 and PCE is the ISO-Code for ST.

 

If I try to do the goods movement with PCE, then the service responds with ok, but the goods movement isn't executed and there is an error in the Confirmation of production order (co14).

"No language-specific unit defined in language EN for internal unit PCE"

or in german

"Zur int. Maßeinheit PCE ist in Sprache DE keine sprachabh. Einheit gepflegt"


This leads me to the assumption that the enterprise service interprets the unitcode in the goods movement section as SAPs internal UOM.


In addition there must be a failure in the service implementation, because it must not sent an ok message, if the goods movement isn't done.


Is there a rule, that enterprise services should use ISO-Codes as unitcodes?


Are there further ideas?

 

Regards

Roland


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"    xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">   <soapenv:Header/>   <soapenv:Body>      <glob:ProductionConfirmationCreateRequest_sync>         <MessageHeader>            <UUID>365d2b3f-4f1f-44eb-abf8-e991d83411bf</UUID>         </MessageHeader>         <ProductionConfirmation>            <ProductionOrderID>7284094</ProductionOrderID>            <ProductionOrderOperationID>0010</ProductionOrderOperationID>            <PlantID>662L</PlantID>               <!-- Linie 62 -->            <WorkCentreID>80060050</WorkCentreID>               <!-- Teilrückmeldung -->            <RecordTypeCode>L20</RecordTypeCode>               <!-- 12 Gutteile -->            <ConfirmQuantity unitCode="PCE">12</ConfirmQuantity>            <GoodsMovementInformation>                  <!--                        für Material 77003228 (Endprodukt des FA) und Charge 0728409400                       12 Stück Wareneingang auf LL62 in den frei verwendbaren Bestand buchen                  -->               <MaterialInternalID>77003228</MaterialInternalID>               <PlantID>662L</PlantID>               <InventoryManagedLocationInternalID>LL62</InventoryManagedLocationInternalID>               <BatchID>0728409400</BatchID>               <ProductionOrderID>7284094</ProductionOrderID>               <GoodsMovementTypeCode>101</GoodsMovementTypeCode>                  <!-- frei verwendbarer Bestand -->               <InventoryUsabilityStatusCode>1</InventoryUsabilityStatusCode>                  <!-- hier muss "ST" verwendet werden, "PCE" liefert keine Fehlermessage, die Buchng funktioniert aber nicht: -->                <InputQuantity unitCode="ST">12</InputQuantity>               <GoodsMovementReferenceDocumentTypeCode>3</GoodsMovementReferenceDocumentTypeCode>            </GoodsMovementInformation>         </ProductionConfirmation>      </glob:ProductionConfirmationCreateRequest_sync>   </soapenv:Body></soapenv:Envelope>

WSRM1128: Failed to send a [ CreateSequence ] RM session control message

0
0

Hi all,

 

When trying to consume an SAP delivered web service from a third- party partner application in prod environment, below error is thrown at the partner side.

 

"WSRM1128: Failed to send a [ CreateSequence ] RM session control message: Maximum number of resend attempts has been reached."

 

The web service call does not even hit SAP system - no (error)logs in web service monitor or util.

 

The same web service works fine from SOAP UI client and also when the same partner application is run from local server (localhost).

However from prod environment the above error is thrown.

 

I can only assume that there is an issue with secure connection between third- party and SAP systems .

 

Any hints on what could be the possible cause ?

 

Thanks!

Karthik

SOAP/WSDL connection

0
0

Hi all experts,

 

I generated the SOAP link in PHP, yii2 to be precised.
I want to use this link in my ABAP ZProgram to pass the value from SAP to my Yii2.
How can I do that?
Please, help

SAML Holder-of-Key with Webservice security

0
0


We are planning to expose an RFC to .net application using SAML with webservice.

 

We are finding challenge to configure SAML2.0 holder-of-key for web services in SOAMANAGER.

 

We already looked at notes 1254821 - SAML authentication for Web services in AS ABAP.

 

We are not sure what fields to enter in Location URL, Metadata Exchange URL and Policies.

 

We looked into SDN and help.sap.com but we did not get enough documentation to configure it.

 

We are using ADFS as STS in between SAP and .net. We are not sure what end point should be given to ADFS. So that they configure it.

 

We request you to share the documentation and testing tool to confirm it is working.


Thanks & Regards,

Phani.

Modify parameters (no header) of a consumed Web Service from ABAP

0
0

Hello

We need to modify the message generated by adding the username and password to the message parameters.

Previously we have a scenario where the username and password was included in the header of the message but this new scenario is different.

 

New scenario with the username and password as parameters in the message (We don't know how to do it)

 

POST http://----------------ctricalAccountSync HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type: text/xml;charset=UTF-8

SOAPAction: ""

username: --------  ( how can we include these parameters in this part of the message?)

password: --------  ( how can we include these parameters in this part of the message?)

Content-Length: 554

Host: ---------

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

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

   <soapenv:Body>

      <elec:syncElectricalAccount>

         <block></block>

         <road></road>

         <building></building>

      </elec:syncElectricalAccount>

   </soapenv:Body>

</soapenv:Envelope>

 

 

In previous scenario the username and password were included in the header. Header was modified  with  ws_header->set_request_header

 

POST http://----------------ctricalAccountSync HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type: text/xml;charset=UTF-8

SOAPAction: ""

Content-Length: 554

Host: ---------

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

 

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

   <soapenv:Header>

     <username>-----</username>

     <password>-----</password>

   <soapenv:Header/>

   <soapenv:Body>

      <elec:syncElectricalAccount>

         <electricalAccountNumber></electricalAccountNumber>

         <block></block>

         <road></road>

         <building></building>

      </elec:syncElectricalAccount>

   </soapenv:Body>

</soapenv:Envelope>

 

Thanks

Viewing all 143 articles
Browse latest View live




Latest Images