Testar WebService - SOAMANAGER
Olá pessoal,
Estamos tentando testar um serviço criado com base em um módulo de função.
Chamamos a transação SOAMANAGER, e através da ferramenta de administração de webservices tentamos testá-lo.
Porém quando executamos a chamada no link "Open Web Service Navigator for Selected Binding" recebemos o seguinte erro:
"Cannot download WSDL from http://?????/sap/bc/srt/wsdl/bndg_4B32361E291F39C2E10000000A060425/wsdl11/allinone/standard/document?sap-client=030: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator "
*?????? = nosso servidor.
Gostaria de obter a configuração necessária para o WSNAVIGATOR também.
Um abraço,
Movendo para fórum correto
Veja esta threads:
Cannot download WSDL from xxx -
SOAMANGER: Cannot download WSDL
Edited by: Fernando Ros on Jan 25, 2011 1:25 AM
Similar Messages
-
Define Logon group in Webservice SOAMANAGER configuration
Hi All,
I've setup a webservice through an ABAP RFC. This webservice is called from a .NET application. A initial test is done and the webservice is working propperly. For loadbalancing reasons I would like to set the Logon Group when calling this webservice. I think this is done in the SOAMANAGER as it is visible in the SICF transactions. Only I can't edit the Logon group in SICF because the webservice is configured in SOAMANAGER.
Simply, does anyone know how to set the logon group when configuring a webservice in SOAMANAGER?
Hope anyone can help.
Kind regards,
Koen SchoutenHi Schouten,
As per my assumption you need to configure the below path ?
Please revert me if this is the requirement which you need.
Thanks,
Seshadri. -
Issue: Testing Webservice SOAMANAGER
Hi Experts,
I published a WebService in SAP ECC6.0 using a Remote enabled function module which has one input field and Six output fields.
I have Created Webservice using SE37 Tcode.
In ECC 6.0 WSCONFIG,WSADMIN and LPCONFIG Tcodes are obsolete .So i have using tcode SOAMANAGER settings like Applications and Scenario Communications->Single Service Administrater-> link i have searched my newly created Webservice ->Apply settings ->Open Web Service navigator for selected binding -> getting URL and XML code on that..
SOAP processing-> i have created new project and consume the Webservice form here.
issue:
i am facing issue like below some SRT: Authorization Denied. for your referrance i have copied the xml code.
i searched to get resolved the issuse by roles need to added to my userid so i ahve added roles SAP_BC_WEBSERVICE_CONSUMERu2019 to my account but i am facing same issue.
Let me know any configuratons or authorizations we required in my SOAMANAGER to test WS.or How to setup the WSNAVIGATOR for this scenario.
Regards,
Samruth.An alternative is:
use txn WSADMIN and open the node for your web-service. Then, press the 'Rench' button or F8 to open the web based test tool.
You need to provide logon credentials if basic authentication was required for the WS.
Pls reward points if helpful. -
Error while testing the webservice through SOAMANAGER
Hi All,
I have created a webservice from a Function module ( RFC enabled). I am getting an error while testing the webservice from the SOAMANAGER but the function module is working fine giving proper output.
The error is
REQUEST:
POST /sap/bc/srt/rfc/sap/zws_test_cms_bp_fac/600/zws_test_cms_bp_fac/zws_test_cms_bp_fac HTTP/1.1
Host: ed1app.corp.fcc.ca:49000
Content-Type: text/xml; charset=UTF-8
Connection: close
Authorization: <value is hidden>
Content-Length: 654
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:ZSRAV_TEST_CMS_BP_FAC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'><IT_BP_LIST><item><BP_NUMBER>9999990013</BP_NUMBER></item></IT_BP_LIST><IV_COMPANY_CODE>FCC</IV_COMPANY_CODE></ns1:ZSRAV_TEST_CMS_BP_FAC></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE:
HTTP/1.1 500 CX_ST_REF_ACCESS:XSLT exception.An error occurred during serialization in the simple transformation program /1BCDWB/WSSE2B50F3FDFC9C2A94B7.Access to the table ref. node 'ZSCMS_FAC_CAG_DETAILS' outside a loop
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 0
accept: text/xml
sap-srt_id: 20100202/041112/v1.00_final_6.40/4B67E41A4BC41B7CE10000000A013104
server: SAP Web Application Server (1.0;700)
please do the needful.
Thanks in advanceHi,
Here is a very smart tool for webservice test:
[soapUI|http://www.soapui.org/]
It works fine for me!
bg,
attila -
Error messages while creating a webservice within soamanager
dear forum,
i created a webservice and now i want to test in the transaction soamanager. i make my way through the transaction till i am on the screen webservice administration. i select the webservice and the state of the object is:
Services: 0/ Endpoint 0.
I learned, that i have to create a webservice within the soamanager in another thread. when i follow the instructiions of the blog
/people/mohan.kumark/blog/2008/10/14/soamanager-how-to-test-service-definition-using-soamanager-transaction and when i want to save my changes i get 2 different error-messages for my two different webservices:
i recieve an error-message like:
SRT Framework Ausnahme. Die Konfiguration ist ungültig. Ungültige Kardinalität "AuthenticationMethod".
which means
that the configuration is not valid, because of an illegal cadinality.
Waht does this mean?
Another Error-Message i don't understand:
DT Objekt 'ZMI_MM_WS_BAPI_GOODSMVT_CREATE': Operation 'PoChange' nicht gefunden NS: 'urn:sap-com:document:sap:soap:functions:mc-style'
which means that the system coudn't find operation "PoChange". But as we know, the BAPI_GOODSMVT_CREATE for which i created the webservice has this method?
any guesses?
With kind regards,
Robert ReinHi Robert,
Could you please check if the services which you created are active state in the Tcode SICF .Enter the service name in the search filter.
There are few service which needs to be activated for soamanager to work ,pls check if you have done that part.
*SRT Framework* Ausnahme. Die Konfiguration ist ungültig. Ungültige Kardinalität "*AuthenticationMethod*".
I could get only the words mentioned in bold above .SRT is a node in under default in SICF ,try activating and check authentication also
, refer Trevor's reply if it helps
Regards,
Srinivas -
Creation of webservices using SOAMANAGER
Hi All,
Can someone let me know how to create web services using the new transaction SOAMANAGER. I have earlier used WSCONFIG & WSADMIN transactions but these seem to obsolete in the latest versions.
I have done the following steps so far
1. Create a function module with required parameters
2. Set the FM as RFC enabled and activated.
3. Created the webservice using the wizard in SE37
When i checked for the node for the webservice in SICF it was inactive. Hence i had right clicked and activated the service.
I have also checked the following blog,
/people/bv.pillai/blog/2008/01/27/new-service-definitions-in-the-abap-development-environment-soamanager-150-sap-nw-70-sp14
I navigated to the following path to test my webservice
Txn: SOAMANAGER->Business admin->web service admin-><Z* webservice>Apply selection->Open Web Service navigator for selected binding
When i try this i am getting an error "J2EE host or port not specified; define them under "System Settings"
Can someone let me know in identifying what i have missed out?
Also it would be great if someone can let me know the URL for SAP help documentation on SOAMANAGER. I am unable to locate it in SAP library.
Thanks,
Prasath Nhi,
you don't need the webservice navigator to activate a service or binding. it's just there to allow testing of the service if you have no other options. like the "webservice homepage" in WSADMIN the webservice navigator requires a J2EE instance up, running and configured.
the help pages for SOAMANAGER are to be found under [this general node|http://help.sap.com/saphelp_nw70/helpdata/EN/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm]. -
How to create "service group" (ABAP webservice consumer) for SOAMANAGER
HI experts,
I'm trying to setup ABAP as a proper webservice consumer using SOAMANAGER in a 7.01 system. I would like to use Business Scenario Communication for this. I want to add Service Groups in the Consumer tab, and I find 2 servicegroups in the 7.01 (ERP 6.04) system: SRT_SG_TEST_01 and SRT_TEST_GROUP. However, I want to create my own Serivce Groups (Consumer), where do I do that? SE80?
All help appreciated, please don't bother describing the ABAP-as-Provider setup, which is the more common approach.
Gr, WoutHi ganesh,
Please look at the SAP note 376424 - BAPI_PO_CREATE1: Error messages for parked POs.
Sap recommends to install the support service pack. Take a look at the note for detailed understanding.
Also take a look at SAP NOte
767284 - SE518 occurs although account assignment is supplied to BAPI (this requires Note 552114 must be applied as a prerequisite)
Consider contacting basis team after your analysis about the issue.
Regards,
Sivaganesh -
Issue with testing webservice using SOAMANAGER.
Hello,
I created an RFC and exposed it as a webservice. Everything worked fine.
I had to enhance the RFC by adding a couple of field, and then I recreated the webservice. When I now test this webservice using the SOAMANAGER I get the following error message.
Message Envelope not found. Probably empty soap message.
Any pointers as to what could be going wrong. I have deleted the entire webservice, and recreated the service in the SOAMANAGER. I also restarted the browser so there was no caching issues on the browser with sessions and stuff like that.
Thank You for your help in advance.
Sumit.An alternative is:
use txn WSADMIN and open the node for your web-service. Then, press the 'Rench' button or F8 to open the web based test tool.
You need to provide logon credentials if basic authentication was required for the WS.
Pls reward points if helpful. -
Error While Consuming the webservice in ABAP
Hi,
I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400 : Bad Request")"
Any help is appreciated.
Thanks
Raghavendra KuamrHi,
Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
Regards,
Gourav
PS: please search forum before posting questions. -
SAP Soamanager WSDL generates n0:string instead of xsd:string in 7.3
I´m using the Soamanager to create a Service for a Enterprise Service
Provider. The web service is generated based on a custom function
module. My intention is to consume a soap webservice via .net
application. Actually this works fine with the legacy BW 7.0 system.
But after we migrate the web service to the new BW 7.3 system, the web service interface is changed.
I have taken a look at the generated WSDL-file from Soamanager, the soamanager
generates the different type for string parameters. The
Import/Export parameter should be of type xsd:string, but it is
actually n0:string. but i need xsd:string for soap.
I´ve tried several datatypes in function module, e.g string,
char,....but always the same...n0:string instead of xsd:string.
Can you help on how to change the sting type in wsdl?
Thanks,How about a slight change to the xsd? Try with the following, it seems to work fine:
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Orders" type="Orders"/>
<xsd:complexType name="Orders">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="ligne">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Field1" type="xsd:string" />
<xsd:element name="Field2" type="xsd:string" />
<xsd:element name="Field3" type="xsd:string" />
<xsd:element name="Field4" type="xsd:string" />
<xsd:element name="Qte" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:schema>
You might also find this tool useful for testing such scenarios:
http://xsdvalidation.utilities-online.info/
By the way - how did you get the xsd that you are currently using? -
Problem when adding ABAP custom webservice with Visual Studio 2010
Hi All,
After creating a webservice for a custom RFC function developed in a ECC6.0 SAP machine, I tried to add it to a Visual Studio 2010 windows aplication (through a web reference connection).
The sequence I've done is:
- Create RFC in ABAP, with testing ok
- Create a WEBSERVICE with the ABAP editor
- Configured the webservice with SICF with:
Procedure: Standard
Logon data: standard R3 user
Security requirement: Standard
Authentication: Standard SAP User
Then, in SOAMANAGER I copied the webservice URL and tried to add it to Visual Studio 2010, but it keeps asking me the user and password. I try to supply the R3 username and password but if fails.
Why is ECC6.0 asking the user and passord if I've defined a SAP user for the login process?
Is there any way to disable this?
Thanks,
Manuel DiasHello Manuel,
You can use the following code:
CredentialCache cache = new CredentialCache();
cache.Add(new Uri("WEBSERVICEURL:PORTNUMBER/"), "Basic", new NetworkCredential("USERNAME", "PASSWORD"));
SAP needs a password.
Kind regards,
JK -
SAP PI 7.4 SOAP - ABAP Proxy Synchronous Webservice
Hi Everyone,
I am developing the following scenario:
3rd party makes a SOAP call to SAP (via PI) to determine whether a vendor exists or not in the SAP system. The link for the call is provided by us from the Integrated Configuration.
The request comes in, calls an ABAP Proxy to check if a vendor exists and sends a response back to the SOAP call with a 'Y' or an 'N'.
I've read a lot about various scenarios but I'm having trouble connecting the dots as I'm fairly new to PI. I'd appreciate any help.
I've made the following set-up based on assuming I need separate Service Interfaces for the SOAP Request & Proxy Response
ESR
1. Message Types
SOAP (MT_SOAP_REQ & MT_SOAP_RESP) - PROXY (MT_PRXY_REQ & MT_PRXY_REQ)
2. Message Mappings
MM_REQUEST which maps MT_SOAP_REQ to MT_PRXY_REQ)
MM_RESPONSE which maps MT_PRXY_RESP to MT_SOAP_RESP)
3. Service Interfaces (Synchronous)
(SOAP Request)
SI_IN (Inbound Interface) with Request = MT_SOAP_REQ and Response = MT_SOAP_RESP
(Proxy Response)
SI_OUT (Outbound Interface) with Request = MT_PRXY_REQ and Response = MT_PRXY_RESP
4. Operation Mapping
OM_LOOKUP which maps SI_IN to SI_OUT with Request (MT_SOAP_REQ to MT_PRXY_REQ)
and Response (MT_SOAP_RESP to MT_PRXY_RESP)
I create the ABAP Proxies for each Service Interface. SI_IN contains the required coded method to check if there is a vendor.
I create the webservice and binding for SI_IN in SOAMANAGER
At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation) to get the response.
ID
In the Integration Directory I've created a SOAP_SENDER communication channel for System A and SOAP_RECEIVER channel for SAP. For the SOAP Receiver I need to specify a URL - what should this be ? Is it meant to point to the web service for SI_IN in SICF or just to the generic http://host:8000/sap/xi/engine?type=entry
Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
I created an Integrated Configuration for the SI_IN Service Interface with comm channel SOAP_SENDER from System A and SOAP_RECEIVER for SAP backend. I then got the WSDL for this to provide to the 3rd Party to test (via SOAP UI) . Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
I appreciate you taking the time to go through this . Any help is greatly appreciated.
Thanks very much
GaryI create the webservice and binding for SI_IN in SOAMANAGER
At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation) to get the response.
>>>>No need to do anything in SOAMANAGER
Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
>>> No. Soap adapter is fine. Configure your receiver channel as explianed in the below blog (section 4.3)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
>>>>Your receiver determination and interface determination takes care of this.(receiver interface & outbound processing tabs in ICo) -
Error at creating Client Proxy of external webservice (WSDL)
Hi Experts,
I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
[http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
I try to create it with this URL and then I get the error message
Not implemented
Exception of class CX_SIDL_INTERNAL_ERROR
I found two other threads with a similar problem:
cunsuming external webservice in ABAP
Problem while consuming external webservice
But there is no solution that worked for me. In the first thread it is mentioned, that the code between
<wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
report z_currency_converter.
data: convert type ref to zzzco_currency_convertor_soap.
try.
create object convert
exporting
logical_port_name = 'Z_LP'
catch cx_ai_system_fault .
endtry.
data: output type zzzconversion_rate_soap_out .
data: input type zzzconversion_rate_soap_in .
input-from_currency = 'EUR'.
input-to_currency = 'USD'.
try.
call method convert->conversion_rate
exporting
input = input
importing
output = output
catch cx_ai_system_fault .
catch cx_ai_application_fault .
endtry.
write output-conversion_rate_result.
The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
SAP says the following:
The problem is that this WSDL uses two bindings different from SOAP
binding which is not in conformance with Basic Profile 1.1 -
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
I hope you have an idea.
Thanks a lot in advance!
Best Regards,
IngmarI think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
Regards
Snehasish -
Error in Calling a Webservice from ABAP: Consumer
Hi
We are reaching a webservice within the same network Zone and have have done the configuration in SOAMANAGER - WebService URL, Port, Operations are defined and the service is active. The logical port is define and an automatic SM59 destination is created in the System as well and works fine.
While trying to call the Class with the appropriate Method it creates an Exception and on logging within SOAMANAGER or ST11 we get the below error. Not sure how to resolve this as webservice is running fine and it seems a problem in reaching to the service. Neither any Payload is visible in SOAMANAGER Log.
E SOAP_RUNTIME 20081203021828.6099930 : CL_SOAP_RUNTIME_CLIENT
->EXECUTE_PROCESSING A SOAP Runtime Core Exception occurred in
method get_http_headers of class CL_SOAP_HTTP_TPBND_ROOT at
position id 3 with internal error id 1007 and error text SRT:
Unsupported xstream found: ("HTTP Code 404 : ") (fault location is
1 ).
Anu inputs appreciated.
//SwetankHi,
what does the service?
XString listens to binary data.... With services you exchange xml messages (SOAP)... -> String
Maybe you have to convert your binary data into string?
I have created an email service... the attachments must be converted into a base64-String that a service can handle this issue.
regards -
Error While testing SAP Webservice build by RFC enabled function Module
Hi All,
Iam getting an error " You are not authorized to view the requested resource"., while Iam testing SAP Webservice using transaction WSADMIN or SOAMANAGER.I have succesfully tested for WSDL and done with required configurations and settings.
Can any help me with this ?Hi Friends ,
My problem got solved , I added SAP_J2EE_ADMIN role to my profile and it worked.
enjoying...
Edited by: Sridhar Maheswar on Jun 20, 2008 1:21 PM
Maybe you are looking for
-
Firewall allows only https acess; how to have multiple instances
Hi, We have a server that is accessible from the internet only using https. Right now we have 3 Web apps. deployed to a single Weblogic instance listening on 443. Is there a way to have 3 separate Weblogic instances, one for each Web. app. so that so
-
Using a Circle object which has been created outside a Group
Hi all! I have one trouble: I create a Circle object outside a Group object. I trying to use th Circle in the Group and I have got compilation error. It's my code: * testfx.fx * Created on 24.03.2009, 21:19:00 package testfx; import javafx.scene.effe
-
Math.cos Math.sin = Math.HELP
Hello Everyone, I was hoping to create a JS script to move objects away from common center based upon their current position. I was thinking to use a single selected path item as the center based on its position x/y and width/height. Using this refer
-
Can the timeout for smtp/pop server be increased in Mac Mail?
Hi, do anyone know if this is possible? Thanks.
-
Template for BW Query Technical documentation
hello experts Can I find any template Docs for Query Technical documentation. Thanks SP