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

SOAMANAGER create logical port not allowed / forbidden

$
0
0

Hi all,

 

when trying to create a logical port, the window goes blur and the mouse pointer changes to a forbidden traffic sign, and I am not allowed to do anything else than reload the page and go to frontpage of SOAMANAGER. However I can see in the backgroud the "Web Service Administrator" page.

 

We are in SAP BASIS 700 P0026.

 

I don´t find any log file entry, neither ICM trace entry regarding this. I have tryed also all kind of web browsers and information on internet did not result in any similar case.

 

Any help is very usefull. Thanks,

 

Pedro


web service config

$
0
0

Dear All,

 

I need to call an external Web service from SAP, with some data and then receive back some data from this call. system = ECC6

 

 

I have just started into this new stuff and am not sure of the major steps involved.

 

 

-Do I need to create a proxy from se80 using a predfined WSDL from the external system??

 

 

-Can i then make the call to the service from withing standard ABAP or do i need some other development suite to make the connection

 

Many Thanks

Tony

Re: web service config

$
0
0

-Do I need to create a proxy from se80 using a predfined WSDL from the external system??


Yes. But you may need to make adjustments, since some WSDL's contain sections that older versions of SAP can't handle.


-Can i then make the call to the service from withing standard ABAP or do i need some other development suite to make the connection


Yes, you just use the generated proxy classes.

Structure: flat & not charlike when calling external service

$
0
0

Hello,

 

I have created a proxy object from given WSDL's URL and a logical port for given Endpoint URL. When I test the proxy object, I get an error as in attached file "Proxy error.txt".

When I test (with debugging) a function module which consumes this proxy object, I get the same error with addition:

 

Structure: flat & not charlike

 

The structure of input and output parameters is deep, and type of all elements on the lowest level is STRING.

 

I couldn't find any conclusion after googling.

Re: WS-Policy configuration in SOAMANAGER

$
0
0

Hi Axel,

 

have you been able to solve the issue in the meanwhile?

I am facing the exact same problem, not being able to set up the UsernameToken policy manually in SOAMANAGER.

Is it really necessary to do a setup of the SOAP header in the ABAP coding?

 

Regards, Martin

Re: WS-Policy configuration in SOAMANAGER

$
0
0

Hi Martin,

 

uff, its a long time ago ;-)

 

Not directly, I created an Implicit Enhancement Spot at the end of method APPLY() (class CL_ST_USERNAME10).

Based on the interface name I'm reading a custom configuration table in order to define (overwrite) the username token settings in structure (instance attribute) "m_username_token".


I also opened a message at SAP, because the digest password was not calculated correctly.

The answer was the following OSS Note provided by SAP:

1587834 - wsse:UsernameToken: incorrect Password digest

 

I created the WS-Policy manually and attached it to the WSDL file.

This will generate the signature configuration.

It is very helpful to create a "dummy" provider service with the same WSS settings (SOAMANAGER) in order to generate a WS-Policy template.


If you need further information, don't hesitate to contact me.


Kind regards


Axel 

WSRM Configuration Issue

$
0
0

Dear Experts,

 

We have a requirement to setup WSRM between TM and ECC. We have followed the guide from SAP note 1978857. we have completed SRT_TOOLS and SLD registration. we have configured central system configuration as per the linkhttp://wiki.scn.sap.com/wiki/display/ABAPConn/How+to+configure+a+system+as+central+systembut the connection test is giving following error. anything needs to be done or these error will go when i configure managed systems?

 

Error when calling SOAP Runtime functions: SRT: Unsupported xstream found: ("HTTP Code 404 : Not found")

 

Error when processing Web service call

 

SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 404 : Not found")

 

SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 404 : Not found")


 

also, please let me know any services needs to be check and activate in the system? do i need to create logical port in the TM central system?

 

Please help me to resolve these errors.

 

Thanks a lot,

Pradeep

Error in Consuming external WSDL in ABAP

$
0
0

Dear Gurus,

 

I am trying to consume a WSDL in ABAP using enterprise services in SE80. After load the WSDL and making logical port, when i test the WSDL, it gives  an error : (SOAP:1.008 SRT: Couldn't create Object: ("ICF Error when creating HTTP client object by Config for U )

 

Can any body tells what is the cause of this error? I tried but unable to resolve the problem. Help from integration and ABAP gurus is required. Thanks


Re: Error in Consuming external WSDL in ABAP

$
0
0

There is a error when creating logical port, you can tell me how you created the logical Port

Re: Error in Consuming external WSDL in ABAP

$
0
0

Dear Akrem,

 

I am creating logical port through SOA Manager. On Web Service Configuration, i open the consumer proxy and than create logical port. Capture.JPG

I give port name, than description and than import WSDL file. I did the same for anothe WSDL about 2 months ago, that was working fine. Kindly let me know what could be the problem.

Thanks

Re: Error in Consuming external WSDL in ABAP

Re: Error in Consuming external WSDL in ABAP

Re: List of Services

Re: WS-Policy configuration in SOAMANAGER

$
0
0

Thanks Axel, that sure would have solved my problem the hard way :-)

 

In the meantime I also found another solution I'd like to share with SCN:

Our WS provider didn't provide the policy in the WSDL as well, so I just added it manually into the WSDL file and did the logical port generation with it.

 

In the WSDL, you need to:

1. Add the Policy definition (ask your provider for the configuration details, or try to use an example from https://www.oasis-open.org/, or just google "WS-SecurityPolicy Examples")

2. Add the required namespaces to the WSDL definition (xmlns:wsp, xmlns:wsu, ...)

3. Add/change the Policy-reference in the (in my case) binding-node

 

Then, do the logical port generation with the (fixed) WSDL file - that's how it worked for me.

SAP-to-SAP SAML2 - Invalid X509IssuerName in response

$
0
0

We're on Basis 702 SP13, and I'm trying to proof the setup of SAML2 for web services by using two SAP systems, one as the consumer (say "CCC") and one as the provider (say "PPP").

 

I've run SAML2 in both systems, and WSS_SETUP in just PPP, and I have used SOAMANAGER to setup a runtime definition for "srt_test_provider" service in PP, flagged as using Asymmetric Message Signature / Encryption (for Communication Security) and Single Sign On using SAML for the Message Authentication.  The CCC system has also been defined as a Trusted Provider ( STS ) in the PPP system's SAML2 settings (so the consumer local provider entity now appears in tables SAML2_ENTITY and SAML2_ENTITY_E in the provider system).

 

The documentation available seems a bit thin, but I have progressed to the point where CCC is calling PPP, logging into PPP via the DELAY_LOGON account, and PPP is recognising the SAML assertion, and returned a response.  However the response from PPP contains a a SecurityTokenReference / X509Data / X509IssuerSerial block something like this

 

X509IssuerName  CN=PPP SNC,OU=I9999999999,OU=SAP Web AS,O=SAP Trust Community,C=DE

X509SerialNumber 1234567890123456


which appears to be the issuer on PPP's "SNC SAPCryptolib" PSE.  Naturally the consumer system rejects this as it has no reason to trust that Issuer.

 

Any ideas why PPP is returning this value and not something more relevant - have I missed a setup step?

 

Supplementary Question #1:  Do I need to run WSS_SETUP on the consumer system - and client 000?

Supplementary Question #2: What does the WSS_SETUP checkbox "Secure Conversation Bootstrap Endpoints / Provider Configuration" actually do - apart from creating a bunch of new SICF nodes?  What are these for, and does every client need this set?

 

Thanks!

 

Jonathan


Re: Consuming WebServices FEDEX

$
0
0

Thanks Reid ...... I resolved with your suggestion

WSDL file usage

$
0
0

Hi experts,

 

     I have created web serivce using BAPI now i want to use this web service in non sap system.

so which WSDL file should i use to consume it.

I have two diff URL's.

One which i got after creating web service and second in soa manager.

plz help.

Re: WSDL file usage

$
0
0

Use the one from SOAMANAGER as that will reflect the runtime configuration settings you have made for the web service e.g. the authentication method.

 

Jonathan

Re: How to call an ABAP webservice?

$
0
0

this old but i will answer anyway because maybe somebody will looking for the answer:

 

from suds.client import Client

 

url = ' wsdl url here'

client = Client(url, username='***', password="***")

 

then yo do:
print client

and you will find a line like:

Methods (1):

            ZGETDETAILS(ns0:char10 CODENUMBER)

 


and that name is the name you use for call the service , example:

 

client.service.ZGETDETAILS('CodeNumber'ValueHere)

SOAP request - Altova XMLSpy

$
0
0

Hi experts,

 

We have created a web service through B1if environment.

 

We have created the tstin.xml:

<?xml version='1.0' encoding="UTF-8"?><AddBP xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns="http://tempuri.org/">  <CardCode>C123456</CardCode>  <CardName>myNewBP</CardName>  <CardType>C</CardType>  <PhoneNum>49/63452632-323</PhoneNum>  <Email>hugo.platform@supi.com</Email>  <Address>My Home 25</Address>  <WebSite>www.ich.de</WebSite></AddBP>

 

which we have assigned as inbound in our process.

 

Tstin.jpg

 

 

Our web service works properly through B1if and creates the declared Business Partner in SAP Business One.

As a next step, we tried to call the specific web service via Altova XMLSpy - SOAP request.

 

We call the url of the wsdl file and the following code returns:

 

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">  <SOAP-ENV:Body>  <m:AddBP xmlns:m="http://tempuri.org/">  <m:CardCode>String</m:CardCode>  <m:CardName>String</m:CardName>  <m:CardType>String</m:CardType>  <m:PhoneNum>String</m:PhoneNum>  <m:Email>String</m:Email>  <m:Address>String</m:Address>  <m:WebSite>String</m:WebSite>  </m:AddBP>  </SOAP-ENV:Body></SOAP-ENV:Envelope>

 

When we Send Request to Server, we get the following message:

 

Error_Msg.jpg

 

Attached you can find the wsdl file we have created.

 

Can you please advice on how we can proceed?

 

 

Kind regards,

Vassilis Korolis

Viewing all 1056 articles
Browse latest View live


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