User Credential passed in customised tag in soap message
Hi
We have PO 7.31 exposed a web service. When we use SoapUI, it is successful.
When actual consumer call this web service with basic authentication, the user name and password are passed in customized soap header tag.
e.g.
<soapenv:Header/>
<CustomerTag>
<UserID>xxxx</UserID>
<Pwd>*******</Pwd>
</CustomerTag>
<soapenv:Header/>
Therefore our server does not pick them up. Client side got "401 Unauthorized"
* We do not want to disable user authentication
Anyone has idea how we allow server to authenticate the user ?
Thanks
-Liang
Hi Liang,
When you are calling the webservice from SOAP UI, at that time also do you get authentication parameters in Custom Tag?
This might be failing bcz PI doesn't expect user id and password in Custom tag.... Ask your actual application to pass the user id and password in url itself.
Thanks,
Hetal
Similar Messages
-
Passing umlaut character as a SOAP message
I'm using German umlaut inside a serialised XML string. The output file replaces the umlauts with question mark(?) character in unix environment.
I am using ISO-8859-1 encoding.
PS: This works fine In windows environment.
Suggestions are welcome.If a character can not be converted a (or more) bytes addording to the given (either explicitly chosen or defaulted) encoding, it will be replaced with a ?.
Do you use the default encoding? Is LANG set and how? -
Post user and pass to SOAP Header message in ABAP Proxy
Hi Folks!
I'm trying to post user and pass to SOAP Header on an ABAP proxy. I've already read the thread [Consume web service in ABAP proxy with SOAP header|Re: Consume web service in ABAP proxy with SOAP header; and I see that is possible to manipulate SOAP Header but I cannot understand how I work with function module SDIXML_XML_TO_DOM.
Do I need pass to parameter xml a complete SOAP Envelope? If it is right how can I get the complete xml message to pass to this parameter? I think I don't need the build the xml strucuture as I did on WebAS 6.40, isn't it?
Thanks in advanced.Hi Rafael,
I would be interested in the solution... could you please post it into forum.
Thanks and best regards
Stefan Bosshard -
How to pass current user credential for PAPI service execution
Hi All,
As per my requirement I am using the SAP ME PAPI WS to start the SFC. I have used the SAPME PAPI Interface action block in ME within BLS and searched the service and operation also. Required input parameter mapping is also done and I have successfully executed the BLS and SFC is started in ME. In SAPME PAPI Interface action block I have used Credential alias which is standard configuration in MEINT for user MESYS.
Now what I have seen is that, in ME the SFC is started by user MESYS. But I want to pass the user who is currently executing. Is there any way to pass the current user credential or session for executing the PAPI service. My final target is to use the BLS in IRPT through Xacute query.
Thanks in Advance
ChandanHi Sergiy,
It is only required for Sfc Start operation. It is a generic requirement for all PAPI WS. User ref is not available for all services. I have taken sfc Start operation as an example. But for complete SFC operation there is no user ref. in Request structure. Then what would be our generic way to execute it through current user credential.
Thanks
Chandan -
Passing user credential to Adapter
hi Experts,
I am using applicationi adapter 11gps6 for sap and siebel with osb11g, I wonder if I can pass user credential from osb to sap or siebel? From the online doc, seems only configured user(static user) can be passed, but what I need is "pass through" whatever username that has been authenticated by osb, change to another word, the username must be dynamic(osb and sap/siebel could share the same id store, like ldap).
Is this possible?
Best regardsAny feedback?
-
i just read through Axis user doc, but all sample app it mention doesn't show how to use the <HEADER> tag inside soap request / response.
1 -- is <HEADER> tag not much a use when doing 1 - 1 host to host request /response?
2 -- <HEADER> is only useful when soap massage need to pass multiple endpoints / hosts ?
3 -- Why most of the web services at www.xmethods.net don't use <HEADER> tag on request / response xml?
4 -- Is that in most cases, BODY tag in soap is enough? no HEADER needed?
5 -- Hosts in between web service client + provider process <HEADER> elements but not the content of BODY element? and the Ultimate SOAP receiver will process the BODY elements?Note sure if this possible.. but just wondering if you can try using <bpelx:remove> extention to delete the soap header variables..
Other viable option is to write SOAP Message handlers on your outbound webservices... -
ABAP runtime error in sxmb_moni when SOAP message has header with some tags
Hi!!!
I have a problem with sxmb_moni transaction.
If I double-click on a successfully processed
message, then this monitor can't show me
the message details but fails with the following error:
<COPY_AND_PASTE_FROM_SCREEN>
Runtime errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception CX_SY_REF_IS_INITIAL
Occurred on 02.03.2005 at 16:44:21
Access with 'ZERO' object reference not possible.
What happened?
Error in ABAP application program.
The current ABAP program "CL_XMS_PROP_STRING============CP " had to be
terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
</COPY_AND_PASTE_FROM_SCREEN>
This situation takes place only when I want
to look at a SOAP message which was sent to XI
from .Net platform or was sent to
.Net platform from XI (via SOAP adapter).
In all other cases sxmb_moni works fine.
I know that the problem is connected with some tags from Header record of SOAP message:
<soap:Header>
<wsa:Action>http://aaa.bbb.ccc/MessageResponse</wsa:Action>
<wsa:MessageID>uuid:1838f870-1688-4cfe-8c4f-afe14d98c515</wsa:MessageID>
<wsa:RelatesTo>uuid:308b950f-8cff-4b63-9861-93b041825f9d</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-389847df-8760-4d57-9777-6ce159d85205">
<wsu:Created>2005-03-02T08:54:29Z</wsu:Created>
<wsu:Expires>2005-03-02T08:59:29Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
If I take a SOAP message I have problem with, and
I remove all tags from this Header (or remove
the whole Header) and send it from any XML editor
that can send SOAP messages then sxmb_moni hasn't
any problems with showing me details of a such message.
Any hints how to force a .Net platform not to send
a such header or how to force sxmb_moni transaction
not to fail if a such header occurs?
Regards,
Andrzej FiluszHi Santhosh
1.Check your authorization settings in XI and R/3. Whether the user has sufficient rights to execute the Function Module etc. This is the most common reason for this error.
2.If the XI system was brought online even before the R/3 system then re-activate the communication channels from the Integration directory.
Cheers..
Vasu
<u><i><b>** Reward Points if found useful **</b></i></u> -
IPhone "FIOS remote" app update caused 'Invalid User Credential'
Hey there,
I recently updated my "FIOS remote" app on my iPhone and started getting 'Invalid User Credential' when checking my DVR in the app or the TV listings, also wasnt able to submit feedback.
TheAbout screen says I'm using "Verizon FIOS mobile remote version 3.1.56 build number 16"
I called Verizon support who helped me.
The fix: Open a browser and go to www.verizon.com/fiostv/web and logon.
Feedback in the app still doesn't work so I thought I'd post this here for others. By the way, I think a 100 character limit is too small for feedback.
KevinLawrenceH wrote:
I have been trying to get the FiOS Remote app to work, but it keeps giving me problems with the sign on. I don't think my sign on is the issue.
My signon works for ...
1. My FiOS app - in which I can pull my account information
2. the Verizon mobile website - in which I can login and see all my information
Within the My FiOS app when I try to manage my DVR, it launches the FiOS remote app. This app won't let me sign in. I constantly get the "Sign In Error" User ID or Password is invalid. Please try again."
I know this error is erroneous because of my ability to login everywhere else.
Please advise on what I can do next.
Hi, I know that app requires that you are connected to the wifi in your home and not on the iphone's 3g. If you have verified that you are on the Actiontec WiFI (not a second router's wifi) and that your login is correct at all those sites, then you might need to email the dev from the apple store. It gives you a link to email them there. -
How To : Call External Webservice from BPEL and pass SOAP Message to the WS
Hello All-
Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
<strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
<strong>2. Transform the message</strong>
<strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
I am new to Webservice integration using BPEL and would really appreciate your help.
Thanks In Advance
Regards,
DibyaHi Dharmendra,
I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
This is what I see in the TCP monitor, please note the double SOAP env:Body:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<env:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
<wsa:Metadata>
<device xmlns:hl7="urn:hl7-org:v3">
</device>
</wsa:Metadata>
</env:Header>
<env:Body>
<RCMR_IN000002NR01>
</RCMR_IN000002NR01>
</env:Body>
</RCMR_IN000002NR01>
</env:Body>
</env:Envelope>
Any help is appreciated.
Regards,
Aagaard
Edited by: Aagaard on Oct 30, 2008 8:59 PM
Should have mentioned. I am using BPEL 10.1.3.4
Edited by: Aagaard on Oct 31, 2008 8:43 AM
I have opened a new thread for this question so as to not confuse the issue more than necessary.
How many SOAP envelopes do you really need? -
Presence of multiref tag in soap response message
We are having a problem when we try to call a web service in PI. The web services called is provided by an Axis server.
We tried to use the plain HTTP protocol in the definition of the communication channel as shown here:
Adapter type: SOAP
Transport protocol: HTTP
Message protocol: SOAP 1.1
Adapter engine: Central Adapter Engine
We got the followong error response in SXMB_MONI:
The payload shown in SXNB_MONI is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- XML Validation Inbound Channel Response -->
<ns1:cedstr_obt_cle_elem_v2_Response xmlns:ns1='urn:CEDSTR' soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<tab_cle soapenc:arrayType='ns1:cedstr_cle_elem_v1[3]' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:Array'>
<item href='#id0'/>
<item href='#id1'/>
<item href='#id2'/>
</tab_cle><nb_cle xsi:type='xsd:int'>3</nb_cle><stat_elem href='#id3'/>
<cdr href='#id4'/>
</ns1:cedstr_obt_cle_elem_v2_Response>
The expected payload is:
<?xml version="1.0" encoding="UTF-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <ns1:cedstr_obt_cle_elem_v2_Response soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:CEDSTR">
- <tab_cle xsi:type="soapenc:Array" soapenc:arrayType="ns1:cedstr_cle_elem_v1[3]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item href="#id0" />
<item href="#id1" />
<item href="#id2" />
</tab_cle>
<nb_cle xsi:type="xsd:int">3</nb_cle>
<stat_elem href="#id3" />
<cdr href="#id4" />
</ns1:cedstr_obt_cle_elem_v2_Response>
- <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:cedstr_cle_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:CEDSTR">
<id_structure_det xsi:type="xsd:int">118406</id_structure_det>
<ordinal xsi:type="xsd:int">2648545</ordinal>
<appareil xsi:type="xsd:string">C3D1E</appareil>
<type_cable xsi:type="xsd:string">H</type_cable>
</multiRef>
- <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:cedstr_cle_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="urn:CEDSTR">
<id_structure_det xsi:type="xsd:int">984806</id_structure_det>
<ordinal xsi:type="xsd:int">2723425</ordinal>
<appareil xsi:type="xsd:string">O5C3X</appareil>
<type_cable xsi:type="xsd:string">H</type_cable>
</multiRef>
- <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:cedstr_cle_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:CEDSTR">
<id_structure_det xsi:type="xsd:int">1163686</id_structure_det>
<ordinal xsi:type="xsd:int">3144641</ordinal>
<appareil xsi:type="xsd:string">Y0A6B</appareil>
<type_cable xsi:type="xsd:string">H</type_cable>
</multiRef>
- <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:cedstr_stat_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns5="urn:CEDSTR">
<tension xsi:type="xsd:string">MT</tension>
<nb_concess xsi:type="xsd:int">0</nb_concess>
<nb_restr xsi:type="xsd:int">0</nb_restr>
<localisation xsi:type="xsd:string">DEVILLERS EST DE BEAUREGARD</localisation>
<remarque xsi:type="xsd:string" />
</multiRef>
- <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:utlgen_cdr" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns6="urn:CEDSTR">
<succes xsi:type="xsd:int">1</succes>
<code xsi:type="xsd:int">0</code>
<message xsi:type="xsd:string" />
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
</ns1:cedptr_obt_cle_di_v1_HResponse>
What I can see is that PI seems to ignore the multiref tag in the SOAP response message. Does anybody knows if there is an issue with the mutiref tag in PI ?
Thanks for your help.The SOAP adapter does not support more than one body child.
If a SOAP message with several body childs arrive, then only the first body child is considered, all other body childs are ignored.
Regards
Stefan -
How to verify the user information pass by the form with a stored procedure?
Hi,
I would like to know how to verify user information pass by the form with a stored procedure.
I want make a portal which accepts to new user registration, but I want verify the new user's informations (like the name don't contain a number etc).
Thanks for your help
regards
jlaHi Samson,
You can use the UI API to do this. You can catch the form_ADD event and then validate the input from the users. You can even block the event from completing (and stop the document from being added) if your code finds some incorrect data using the bubbleEvent functionality.
I don't have one specific example to show you, but if you look at some of the SDK samples (for example C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\02.CatchingEvents) to see how to work with events, you can then create your own validation to ensure the users data is valid.
Regards,
Niall -
How to recover the administrator user and pass
hello,
I instaled ORACLEXE few days ago, and accord to the instructions I've been using HR user.
but now I'd like to login as administrator because i'd like to create a new user. problem is I don't remember the administrato's user and pass.
what should I do ?
thanks in advance. Andrea.hello everyone.
thanks for you replies.
I'm on windowns.
Problem is that I even don´t remember the name of my "user" administrator. I don´t know if it's "system" or "sysdba" or "administrator" or "root" ... :(
I´m a student, I don´t know nothing about admin databases.
in generally when I install something I use to write and keep the user I used to install but this time I forgot.
- I tried Aman... clue, problem is that I have to connect to the database as SYSDBA to perform it.
- I didn´t understand Mastalerz clue.
any more clue, or I'll have to unistall my db ? :( -
Passing Soap message in Mime message
Hi, is it possible to Passing Soap message in Mime message. if yes, please direct me to some sample codes. thanks
Your question is sounds little ambiguous. A SOAP message is basically XML over HTTP. So the mime would be XML. What do you mean by "SOAP message in MIME message"?
-
User and Pass command to record
Saving of user and pass gets a resounding F Grade.
To be brutally honest, if the programmers who wrote the code in question were working for me, they would now be fired.
I have little regard for such incompetence in this day and age. It has been out, this feature, for a long time both in Sea Monkey (a disaster in the making) and now in FireFox the same problems: fix it, provide for COMMAND AND Control cause this is a mess.
Please tell me how to make it work!!! Bill Neill.Hi again,
1. BOLD code is important.
2. just copy paste
3. It will show a list from t001 table
On double-clicking any row,
it will give a message
and display the rownumber, as well as the field
which was clicked.
4.
REPORT abc.
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
Select Data
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
Display
alvly-box_fieldname = 'FLAG'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid "<-------Important
i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
CALL BACK FORM
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
<b>
IMPORTANT.
data : m(100) type c.
m = whatrow-tabindex.
condense m.
concatenate 'Row Number is ' m into m separated by space.
concatenate m ' : Field Clicked is ' whatrow-fieldname into m separated
by space.
message m type 'I'.</b>
ENDFORM. "ITAB_user_command
regards,
amit m. -
Hello,
I have tried to log on at SAP Netweaver Administrator but it is impossible.
I know that I am using the correct user id and pass because I have worked with NWA some days ago.
I can logon in Portal options 'System Information' and 'Web Services Navigator' with the same user but when I try to logon in 'SAP Netweaver Administrator' or 'User Management' it does not work. Also, I can to access to J2EE Engine Visual Administrator with the same user.
Additionaly, when I try to logon with that user and pass, the message 'User authentication failed' does not appear. That's indicates it is the correct user id and pass but it does not work.
I remember that, in the last changes, I deleted the entries in the TicketKeyStore (J2EE Engine Visual Administrator --> NWP --> Server --> Services --> Key Storage) Could it be the problem?
Please, anybody can help me?
I am looking forward to hearing from you as soon as possible.
Best regards,Hello,
Finally, the problem is solved.
I have configured the certificates in the Ticket KeyStore, that's the quid!!. I used 'DiagTool' tool for review log files and solve the problem. It's very useful and interesting tool...
To create a correct Portal Certificate:
1.1 Log in to the Visual Administrator
1.2 Choose Server --> Services --> KeyStorage --> TicketKeystore
1.3 Delete SAPLogonTicketKeypair-cert and SAPLogonTicketKeypair
1.4 Choose Create (Create button in the Entry field) and type in the following information:
a. mark Store Certificate
b. Common Name: Your (just example)
c. Entry Name: SAPLogonTicketKeypair
d. Store Certificate: Mark it
e. Key Length: 1024
f. Algorithm: DSA
g. Press Generate
Now you will have two entries in the TicketKeyStore:SAPLogonTicketKeypair and SAPLogonTicketKeypair-cert
If anybody have the same problem, I recomend to review the Ticket KeyStoore (Visual Administrator) and user 'Diagtool' tool.
Thank you all.
Regards,
Carmelo Pérez.
Maybe you are looking for
-
How do you Install iBooks on iPad 1?
I restored my old iPad version1 to factory settings and gave it to my father in law. I then let him start a new apple id. I was showing him how to download from the app store, and tried installing iBooks, but I am unable to Install a version of iboo
-
I just noticed about 1 week ago, that my IMAC has gotten much brighter... I did not change anything on the machine, now my hightlights seem to be washed out - ex - I cannot see the same detail in Google Maps. I tried to Calibrte the Screen using the
-
Insert icon for every row inside the shuttle component
Hi, I have a requirement where the shuttle component should have an icon side by the text and which also should be able to replace with the different icon based on some conditions For example The left side the shuttle component consists of list servi
-
I am getting the following message on my 4404 (running 4.2.61). We currently have 48 APs associated to it. We do not have aggressive load balancing enabled. I did a search on the error message below but I was not able to find much info about it on ci
-
JDBC - JavaProxy - JDBC (Synchronous) Interface without BPM ?
Hi, I was reading the following Blog https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29& I want to know that, is it possible to develop an interface like below without using BPM : JDBC - JavaProxy - JDBC Can we use t