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

ABAP consume local file as web service

$
0
0

I am trying to consume a local file (file://c:/xxx.html) as a web service using method CL_HTTP_CLIENT=>CREATE_BY_URL.  When I do that, I get the 'ARGUMENT_NOT_FOUND' exception returned.  I know the file exists and when I launch  it from the Windows start menu, it launches fine and I see the JSON output that I am expecting when I try to call it from ABAP.  Is there another way to address the file using this - or another - method?

 

Asking the question from the complete opposite direction; I have ABAP logic looking to see if a HID device (i.e. - signature pad) is attached to my PC via USB.  My web developer has supplied me with the local web service that will tell me if the device is attached (the file mentioned above), but it is not working.  Is there a more direct way to query the presentation server / local PC to see if an individual device is attached?  I thought maybe I could find the device listed in the registry (so I could read it using CL_GUI_FRONTEND_SERVICES methods) but so far had no luck in finding it there.

 

Any help would be appreciated.

 

Thanks.


Re: Web Services Navigator shows Connection refused: connect

$
0
0

Hi Mofizur,

 

I would recommend to check the error logs on both sides, the WS Navigator server (SAP Java stack) and the provider server (whatever that is) - if 3rd party, ask them why the connection is refused.

 

Maybe your network colleagues could help you as well.

 

Cheers,

Attila

Re: ABAP consume local file as web service

$
0
0

Hi Will,

 

ARGUMENT NOT FOUND refers to SSL error. Are there any imported schemas in the WSDL file located on a HTTPS server? You can see that by opening the file in a text or XML editor: <xsd:import location="https://...">

 

If that's the case, download these files in a browser (check if they have further referenced files as well). Once all files are downloaded, update the references to relative URI (remove http://... just leave .xsd in the reference) and place everything in one folder.

 

You can also create a monolithic WSDL from these, see SAP KBA 2200995.

 

Cheers,

Attila

SoapFaultCode:4 com.sap.engine.services.webservices.espbase.server Enterprise Service Error

$
0
0

Hi Experts,

 

SAP ECC will trigger user creation, which will create user in both ECC and Portal system.

 

We have created a Service Consumer for User management. This has been working fine in all system. We got a change to update user names and email id in Portal system, when ever there is a change in ECC. The changes were completed from both ends and working development system. The existing Service consumer under Enterprise structure has been deleted and created with new name space. This is currently working in Dev system. When transport moved to rest of the system, we are facing issue. Below is the error message for the same.

 

SoapFaultCode:4  com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: com.sap.SOA.wsr.030106 - No operation found using soap keys  [CreateUser], []. InterfaceMapping Object class: com.sap.engine.services. webservices.espbase.mappings.InterfaceMapping mappings: {BindingType=Soap, SEIName=XXX.UserMgmtOperation, PortTypeQName=UserMgmtOperation, PortQName=XXX/}UserMgmtOperationPort, InterfaceMappingID=476bf524:14fdbb14035:-7fec, JAXWSInterface=true, BindingQName={http:}UserMgmtOperationBinding, SoapVersion=SOAP11, ServiceQName={http:///}UserMgmtOperationService}.

Exception of class CX_AI_SOAP_FAULT

 

We have tried to re-import the transport, but still it is same issue.  Thanks.

 

Regards,

Ganesh R K.

Function module Table Parameter

$
0
0

Hi,

 

I have declared a Function module as RFC enabled and passing 3 table parameters as optional parameters. I have created Web Service on the same function module. But when I am testing the WSDL URL of that web service in SOAPUI its not showing that 3 table parameters as optional and also i have to pass values in all 3  table parameters otherwise web service is generating error message.

 

Please help me out.

 

Regards,

Maftun Ahmed Khan

Re: Function module Table Parameter

$
0
0

Hi Maftun

 

If I recall correctly, for Table Parameters via a Web Service you still need to "Send" the Tables but with no entries. That sounds a bit silly but I believe I encountered the same error a few years back and that was the only way to resolve it.

 

Because it's an RFC enabled Web Service all parameters must be passed...even if empty.

 

Hope this helps.

 

Arden

Re: When calling webservice from web browser: HTTP/1.1 415 Unsupported Media Type

$
0
0

hi,

i have the same problem that when i connect to a specific webservice i have this message

HTTP/1.1 415 Unsupported Media Type

server: SAP NetWeaver Application Server 7.20 / AS Java 7.30

pragma: no-cache

content-type: text/html;charset=ISO-8859-1

content-length: 1972

date: Mon, 21 Sep 2015 11:36:12 GMT

 

i cannot resolve this problem

this is my request:

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

   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

      <StartRequest_sync xmlns="http://sap.com/xi/ME">

         <StartRequest>

            <SiteRef>

               <Site>4680</Site>

            </SiteRef>

            <SfcRequest>

               <SiteRef>

                  <Site>4680</Site>

               </SiteRef>

               <SfcRef>

                  <Sfc>615190001879</Sfc>

               </SfcRef>

               <ResourceRef>

                  <Resource>04_REPRISE_EMBALL_PKT</Resource>

               </ResourceRef>

               <OperationRef>

                  <Operation>REPRISE_EMBALL_PKT</Operation>

                  <Revision>01</Revision>

               </OperationRef>

               <UserRef>

                  <UserId>TESTEUR</UserId>

               </UserRef>

            </SfcRequest>

         </StartRequest>

      </StartRequest_sync>

   </s:Body>

</s:Envelope>

 

 

how can i solve this problem please.

Re: ABAP consume local file as web service

$
0
0

There is not a WSDL nor a web server.  I mentioned that the file is local on the PC.

 

Thank  you.


CTS + Configuration

$
0
0

Hello ,

 

There is problem in the CTS + setup, this is confured already and worked fine. But now we done some patch upgrade, so now it is not working . Please fine the screenshot for the error.

 

Please share your inputs.

 

Regards,

Manigandan

How to change SOAP request

$
0
0

Hi,

is possibile to change SOAP request? Can I add attribute to SOAP request? for example I must add type element and namespace to node for force the attribute to string.

If it is not possible, can i change WSDL to force SAP to add type to attribute in SOAP request?

 

 

Thanks,

Rocco

Do you run srt_admin in client 001 and 066?

$
0
0

The srt_admin technical check and soamanager health check fail due to the client 001 messages below.  We aren't issued user ids in 001 so is there a way to configure client 001 from 000 or any other solution? Is the only solution that I need to get a user id in 001 and run it from there?

 

Messages:

 

001Idem potencyIDP service configuration not found for client 001. Run WSIDPADMIN there. /

 

No configuration exists in client: No check of inbound destination:WS_BGRFC_INBOUND000 no usable service destination in client:001


Warm regards, CM

Re: PLEASE BRING BACK ES-WORKPLACE

SRT Framework exception: ICF: Cannot generate ICF information from SOAP information[System is not prepared for WS Security authentication (note 1319507)]

$
0
0

Hi All,

 

Description:

 

We recently upgraded our ERP landscape from ERP EHP 3 to 6.

So our NW stack went from 7.0 to 7.31

 

We use PI to interface between a 3rd party application and our ERP.

 

But incase of a disruption of our PI system, we have a plan B and its a webservice.

 

When we did the upgrade, all was fine, PI and all worked.

 

If checking SICF, the service is active.

Check SOAMANAGER, service is active.

 

We never invoked plan B.

 

We have the need to transfer a high volume from the 3rd party to ERP, so bypassing PI is a much faster route in our case.

 

When trying to hit the webservice, no response.

 

As I start digging.

 

SICF, its active, run a test, it does prompt to log in but blank HTTPS page.

 

So, I launched SOAMANAGER, SAP tells me that the webservice was configured in the old layout, and the new layout will be used.

CLick OK.

 

I see my webservice Active. So decide to Edit it and click same so it regenerates just to see.

 

Then I get this error.

 

 

SRT
Framework exception: ICF: Cannot generate ICF information from SOAP
information[System is not prepared for WS Security authentication (note
1319507)]

 

 

 

And it is now in inactive STate.

 

I read note 1319507.

 

If a WS consumer of an SAP system logs on to a Web service with message-based

authentication such as a UsernameToken, a SAML token, or an X.509 certificate,

the Internet Communication Framework (ICF) initially performs the logon using

the technical user DELAY_LOGON (for 7.1X) or DELAY_L_<SID> (for 7.0X).  A

direct logon with the authentication data contained in the SOAP document is not

possible, since the ICF cannot access SOAP data.

The user name and the

credentials are kept in the secure store and copied into the ICF node of the ws

provider when a configuration is activated.

 

In case no credentials are

available in the secure store, you get the following error

message:

 

System is not prepared for WS Security authentication (note
1319507)

 

Use report wss_setup to create the user DELAY_LOGON (for

7.1X) or DELAY_L_<SID> (for 7.0X), which has no authorizations. The report

also stores the user password in the secure storage. If the user

DELAY_LOGON/DELAY_L_<SID> then accesses the WS provider, the initial

authentication is done using DELAY_LOGON/DELAY_L_<SID>, until the SOAP

processing framework switches the user after successful evaluation of e.g. the

sent SAML assertion.

 

 

Before I try this. Any advice? Anyone else see this before? Almost appears the security has been hardened in the newer NW stacks.

 

Should I run this report? Also concerned about NW stack levels, it discusses 7.1X and 7.0.

 

Let me know your thoughts and experiences.


Re: SRT Framework exception: ICF: Cannot generate ICF information from SOAP information[System is not prepared for WS Security authentication (note 1319507)]

$
0
0

Oh I just seen note 1318883.

 

Possibly my issue.

 

I will have security check it and assign me the access.

 

I will post if it works or not.

Re: PLEASE BRING BACK ES-WORKPLACE

$
0
0

ES Workplace is back online. Hipp hurray :-)


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

Re: SRT Framework exception: ICF: Cannot generate ICF information from SOAP information[System is not prepared for WS Security authentication (note 1319507)]

$
0
0


In the web service utilities error log I see this.

Anyone?

Unsupported Media Type

 

Message no. SRT_CORE126

 

Diagnosis

 

The target system is refusing to service the request because the entity of
the request

 

is in a format not supported by the requested resource for the requested
method.

 

 

 

Procedure

 

Inform the people responsible for the consumer system about this problem.

 

If the consumer system is an SAP system, please contact SAP Support.

 

 

 

How To Save Error Entries

 

If you want to save one or more error entries

 

(displaying in detail and not summary mode) to your computer for sending
it

 

later to your colleagues or to SAP Support, just do the following:

 

 

  • Mark one or more error entries you want to download

 

 

  • Click "Download as XML".

 

 

  • Confirm the pop-up for saving

Re: SRT Framework exception: ICF: Cannot generate ICF information from SOAP information[System is not prepared for WS Security authentication (note 1319507)]

Issue in PurchaseOrderERPConfirmation_Out & PurchasingContractSRMReplicationConfirmation_Out Interfaces

$
0
0


Hi Experts,

 

We are facing below mentioned issue.

 

 

a-  Purchase Order  and  Contract     cXML   in    /nSXMB_MONI     ECC are stucking with Status 'Released for Processing(WS)', (Please refer the attached screenshot)    because of that the PO number is not getting updated on Shopping Cart and Contract(In some table for internal use) in SRM

 

What could be possible issue and what all are the check points we need to ensure in order to resolve this issue

 

b-   Please may someone confirm, 'Source'  and  'Destination'   systems  appearing on cXML messages for  Purchase Order  and  Contract in ECC .... from where it is tagged in  cXML    ... if, it is maintained or configured at any place on 'SOA Manager'

 

c-  Would appreciate, if someone can help with some usefull 'SOA Manager' configuration  forum/discussion/posts

 

 

Thanks in advance for your help on this.

 

 

 

Regards,

R.

Re: Extend trace time in SRT_UTIL more than 2 hours ?

$
0
0

You can increase the trace time by debugging.. e.g. for payload trace set a breakpoint in class CL_SOAP_UTIL_DB method PAYLOAD_SET_LEVEL on statement "UPDATE srt_util_config". When you save the configuration, modify the timestamp variable "ls_config-expiry_ts" in debugging

Viewing all 1056 articles
Browse latest View live


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