[10g] OE schema - Matching Customer Sales Rep And the ORDERS table
Hi,
I have this query:
select c.account_mgr_id, o.sales_rep_id, c.*, 'o', o.*
from customers c,
orders o
where c.account_mgr_id = o.sales_rep_id
But I can't find which salesman places the order.
It looks like there is a hierarchy in the Sales Department, the Account Manager and the Sales Representative?
Am I missing another table from the OE schema?
Many thanks for your help.
Edited by: JeanParis on Nov 28, 2010 11:50 AM
SQL> select c.account_mgr_id, o.sales_rep_id, c., 'o', o.
2 from customers c,
3 orders o
4 where c.account_mgr_id = o.sales_rep_id;
select c.account_mgr_id, o.sales_rep_id, c., 'o', o.
ERROR at line 1:
ORA-01747: invalid user.table.column, table.column, or column specificationBut with respect to your question ... why do you believe the information is present?
In what table? In what column(s)?
Similar Messages
-
Why is it when I bought my first generation iPad in October 2010 the sales rep at the Orange County California South Coast Plaza store suggested that I buy Mobile Me service for $99 which he assured me was a one time charge and now, of course, Mobile Me has been discontinued and I've been "forced" to move to the Cloud and I'm being provided with another year of what Apple calls complimentary service with the clear indication that in a year I'm going to be asked to pay again for something I paid a one time charge for two years ago?
Mobile Me was the successor to .Mac (dot mac) which was "free" to all users but for a limited time. It included a free email address @mac.com and an amount of what we would now call "cloud" storage that went by the name of iDisk. iDisk worked great but with only dialup service for me it was barely useful.
So I didn't think much of dot-mac but lots of people thought it was worth paying for, so they did. Apple wanted to make it even more useful and integrate it with their portable devices which we all know as iPads and iPhones, and assembled a team to make it all work. This was to be called Mobile Me.
They failed miserably. Lots of people including me looked at the final product and said "huh?" Unfortunately for the Mobile Me engineers, one of those people was Steve Jobs. He first humiliated them quite publicly, then disbanded the team, including firing at least one senior manager who shall remain nameless.
This was the rocky beginning of what is now called iCloud, which is the "free" service I should have explained. iCloud includes an email address @me.com, and the 5 GB of "storage" which aggregates things like iWork documents, your email, calendars, Photostream, and iPhone backups.
You can buy more storage if you need more than 5 GB, but if you have more than that it's still free through September 2013.
What happens if you have more than 5 GB stored on iCloud and on September 2013 you don't pay? I'm not sure, but you have a year to think about it. -
FM to read Sales Rep and contact person name
Is there a function module that gets the corresponding name for the following:
1. Sales Rep, obtained from VBPA-PERNR with PARVW = 'PE'.
2. Sales Contact person, obtained from VBPA-PARNR with PARVW = 'CP'.
If no function module exists, at least where to get the required text?
Thanks in advance.Hi
Get the Name of the Contact person and the sales rep from the KNA1 or ADRC tables
first get the Partner Number from the VBPA table with the respective Partner function and fetch name from KNA1
or try/use the fun modules
<b>EBPP_GET_PARTNER_TEXT
ISU_GET_PARTNER_ADDRESS</b>
Reward points for useful Answers
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Installed my Photoshop Elements 7 on my new laptop. Says my serial number is invalid. Chatted with customer service rep and she says the number should work. What now?
Hi,
Did the serial number come from a boxed set and previously installed from disc and are you now trying to install from a download?
If so, that will not work - the serial numbers are different.
If you don't have a dvd drive on your new system, perhaps you could get someone to copy your disc to a memory stick and install from that.
Brian -
Sales text and Purchase Order Text
Hi,
in what tables are stored Sales text and Purchase Order Text of the material master ?
Best RegardsHi
All long text is stored in STXH and STXL.
Object is MATERIAL.
Text-Id for basic data text is GRUN
Text-Id for purchase order text is BEST
For sales order text it is text object MVKE with text-id 0001
Go to SE37 function builder. Enter READ_TEXT and do a single test ( F8 )
Enter your parameters and execute. Example below.
NAME is a comibation of materialnumber (00000000008000000)WITH leading zeros
if numeric and sales org (1000) plus distribution channel (10)
Import parameters - Value
CLIENT - 010
ID - 0001
LANGUAGE - E
NAME - 000000000008000000100010
OBJECT - MVKE
ARCHIVE_HANDLE - 0
LOCAL_CAT
Just for future reference with regards to getting text id's etc.
eg: PO texts.
--> Go into the material master PO text
--> Double click into the required text.
--> Click the "GO TO" menu option.
--> click Header.
and all the info you need is there.
Thanks.. -
Uploading sales text and Purchase order text for material master
Hi,
I have created, material master with LSMW byt not updated SALES TEXT and Purchase order text with LSMW now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text when i have done the recording with SHDB i have not found filed in recording.
regards,
zafarHi,
I have made the code in se38
as below but still it is not working
REPORT ZTEST_TEXT.
data: headerl like thead occurs 0 with header line.
data itab3 like tline occurs 0 with header line.
headerl-tdobject = 'MATERIAL'.
headerl-tdname = '00000000000LSMW123'. "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
headerl-tdid = 'BEST'.
headerl-tdspras = 'E'.
append headerl.
move '*' to itab3-tdformat.
move 'Testing PO text' to itab3-tdline.
append itab3.
call function 'SAVE_TEXT'
exporting
header = headerl
insert = ' '
savemode_direct = ' '
tables
lines = itab3
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
IF SY-SUBRC = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = headerl-tdobject
NAME = headerl-tdname.
ENDIF.
break-point.
regards,
zafar -
How to download material sales text and purchase order text information
Here is situation:
goto MM03 transaction,
Take any material -- and select below views
1. sales text
2. purchase order text
i have to write the download program with the sales text and purchasing text information of all the materials.
could you pls tell me in which table I will get all the above sales text and purchase order text infrmation.
I think it will store in standard text. I checked STXH table also for getting information text object, text id, text name, language, etc.
If anybody knows .. please share.
Thanks in advance.
Regards
RaghuDeclare internal tables as follows: - An example
TYPES: BEGIN OF TY_PO_LINES,
INCLUDE STRUCTURE TLINE.
END OF TY_PO_LINES,
TY_PO_LINES_T TYPE STANDARD TABLE OF TY_PO_LINES.
TYPES: BEGIN OF TY_PO_TEXT,
TDOBJECT TYPE TDOBJECT
TDNAME TYPE TDOBNAME,
TDID TYPE TDID,
SPRAS TYPE SPRAS,
TDLINES TYPE TY_PO_LINES OCCURS 0,
END OF TY_PO_TEXT,
PO_TEXT_T TYPE STANDARD TABLE OF TY_PO_TEXT.
DATA: PO_TEXT TYPE TY_PO_TEXT_T
PO text:
Looping at your internal table which consists of PO number,
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKKO "PO Header Text
TDNAME = PO NUMBER
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKPO "PO line item text
TDNAME = PO NUMBER
ENDLOOP
Looping at PO_TEXT
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = PO_TEXT-TDID
LANGUAGE = PO_TEXT-TDSPRAS
NAME = PO_TEXT-TDNAME
OBJECT = PO_TEXT-TDOBJECT
TABLES
LINES = PO_TEXT-TDLINES
ENDLOOP
Follow the same above logic for material with suitable TDID you need to extract
Hope this helps,
SKJ -
Can anybody tell me about SD Functionality and the main tables used in SD
Hi,
Can anybody tell me about SD Functionality and the main tables used in SD.
Thanks,
bsv.Hi
SD FLOW
SD Flow Cycle:
INQUIRY ( VA11)
|
QUOTATION (VA21)
|
PURCHASE ORDER (ME21)
|
ORDER CONFIRMATION (VA01)
|
PICKING LIST (VL36)
|
PACKING LIST - (VL02, VL01)
|
SHIPPING (VT01)
|
INVOICE (VF21, VF01)
|
AR
Enquiry - Customer enquires about the Products services that were sold by a company - VA11
Quotation - Company Gives a Quotation for the products and Services to a Customer
Sales Order - Customer gives a Purchase order to the company agaionst which a Sales order will be raised to Customer in SAP.
VBAK: Sales Document(Header Data) (VBELN)
VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
Enquiry, Quotation, Sales Order are differentiated based on Doc.
Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
for Quotation 'B' & for Order it is 'C'.)
Delivery(Picking, Packing, Post Goods Issue and Shipment)->
Company sends the material after picking it from Godown and Packing it in a Handling Unit(box) and Issues the goods
LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
(LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
Billing - Also company bills to the customer for those deliveries
And in FI against this billing Accounting doc is created.
VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
(VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
Apart from these tables there are lot of other tables which starts with
V, but we use the following tables frequently.
other tables and imp fields
VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
VBTYP= C(Sales Order) VBTYP=J(Delivery) VBTYP=M(Invoice)
VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
VEDA: Contract Data(VBELN,VPOSN)
VEDAPO: Contract Data(VBELN,VPOSN)
KONA: Rebate Agreements (KNUMA,VKORG,VTWEG,SPART)
VBRL: SD Document: Invoice List(VBELN,POSNR,VBELN_VF,NETWR,KUNAG)
VKDFS: SD Index: Billing Indicator(FKTYP,VBELN,FKART,VKORG)
VBSK: Collective Processing for a Sales Document Header(SAMMG,SMART)
VBSS: Collective Processing: Sales Documents(SAMMG,VBELN,SORTF)
VRKPA: Sales Index: Bills by Partner Functions(VBELN,BELNR,KUNDE,PARVW)
VRPMA: SD Index: Billing Items per Material(MATNR,VBELN,BELNR,KUNNR)
TVLKT: Delivery Type: Texts(LFART,VTEXT)
KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
MARA: Material Master-General (MATNR,MTART,MATKL)
MARC: Material Master-Plant data(MATNR,WERKS,EKGRP)
MARD: Material Master- St.Location Data(MATNR,WERKS,LGORT,LABST)
EBEW: Sales Order Stock Valuation(MATNR,VBELN,BWKEY,BWTAR)
TVKO: Sales Organizations(VKORG)
TVTW: Distribution Channel(VTWEG)
TSPA: Divisions(SPART)
TVKOV: Distribution Channels for S.Orgn(VKORG,VTWEG)
TVKOS: Divisions for S.Orgn(VKORG,SPART)
TVTA: Sales Areas(VKORG,VTWEG,SPART)
TVBUR: Sales Offices(VKBUR,ADRNR)
TVKBT: Sales Office Texts(VKBUR,SPRAS,BEZEI)
TVKBZ: Sales Office Assign.to Sales Area(VKORG,VTWEG,VKBUR)
TVKGR: Sales Group(VKGRP)
TVGRT: Sales Group Texts(VKGRP,SPRAS,BEZEI)
TVBVK: Sales Group to Sales office(VKBUR,VKGRP)
TVKWZ: Plants Assign.to S.Orgn(WERKS,VKORG)
T171T: Sales District Texts(BZIRK,BZTXT,SPRAS)
TVLA: Loading Points(LSTEL)
TVST: Shipping Points (VSTEL)
TVSWZ: Shipping Point to Plant(VSTEL,WERKS)
TVPT: Item Categories (PSTYV)
TINC: Customer Incoterms(INCO1)
T077D: Customer Account Group (KTOKD)
T001W: Plants (WERKS)
T001L: Storage Locations (LGORT)
T499S: Locations(WERKS,STAND,KTEXT)
TWLAD: To get address of Storage Location and Plant(LGORT,ADRNR)
TVAK: Sales Document (Order) Types (AUART)
TVAU: Sales Documents: Order Reasons (AUGRU)
TVFK: Billing Document Types (FKART)
TVLK: Delivery Types(LFART)
TVSB: Shipping Conditions (VSBED)
TTDS: Transportation Points(TPLST)
TVKT: Account Assignment Groups (KTGRD)
KONV: Condition Types pricing)(KNUMV,KSCHL,KWETR)
ADRC: To get Addresses of Partners(ADDRNUMBER,NAME1)
VBBE: Sales Requirements: Individual records(VBELN,POSNR,MATNR)
VBBS: Sales Requirement totals Record(MATNR,WERKS,LGORT,CHARG)
VBKA: Sales Activities Data(VBELN,KTAAR)
VBPV: Sales Document Product Proposal(VTWEG,MATNR,KUNNR,CHARG)
T682: Access Sequences (KOZGF)
T682T: Access Sequence Texts (KOZGF,VTXTM)
T683: Pricing Procedures (KALSM)
T683T: Pricing Procedures Texts(KALSM,KAPPL,SPRAS,VTEXT)
T685: Pricing Condition Types (KSCHL)
T685T: Condition Type Texts(KSCHL,SPRAS,KAPPL,VTEXT)
KONH: Conditions (Header)(KNUMH,KAPPL,KSCHL)
KONP: Conditions (Item)(KNUMH,KOPOS,KAPPL,KSCHL)
KONV: Conditions (Transaction Data)(KNUMV,KSCHL,KBERT,KWERT)
KOND: Conditions (KNUMD,ZUSKO,KSCHL)
for sd go through the links
http://www.sapgenie.com/abap/tables_sd.htm
Please check this SD online documents.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLISPLN/LOLISPLN.pdf
Also please check this SD links as well.
http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
http://www.sap-basis-abap.com/sapsd.htm
http://www.sap-img.com/sap-sd.htm
http://www.sapgenie.com/abap/tables_sd.htm
http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
All help ebooks are in PDF format here
http://www.easymarketplace.de/online-pdfs.php
Reward points if useful
Regards
Anji -
Price difference between the requisition and the order
Hi All,
There is new functionality in ERP6 that checks the difference in price price between the requisition and the order. The configuration is under Purchase Requisition -> Tolerance Limits -> Define Tolerance Keys. This is very useful functionality when the requistion item is approved at an estimated price, but a purchasing group needs to change the $ value it will block the Purchase Order.
I have this configuration menu available in SPRO in one of my systems (IDES), however on a newly installed ERP6 system we are missing this menu path in SPRO.
Does anyone know why this menu path in SPRO is missing on some systems...Thanks Henry,
I've done some digging and the tables that store these config settings are part of US Federal Governement addons.
Looks like all the (non government) sites that need it aren't able to have it. Great shame really as this would be very useful to communicate with the requestor whena price difference occurs. -
Navigation block and the Query Table Side by side in output
Hi
I am unable to get the navigation block and the query table side by side when i execute the WAD .Is it possible to place those 2 objects next to each other in the WAD output.In the WAD design those 2 are placed side by side.
Regards,PraI meant Html Table:
In WAD in menu you can choose Insert -> Table -> Insert Table
You need 1 row, 2 columns. In one of the column you should put navigation block and in the other table.
Regards
Erwin
Edited by: Erwin Buda on Feb 5, 2009 2:06 PM -
Dear Experts,
i need report show me the customer and the sales rep which belong to him
colud you provide me?
Thanks
AmirHi Amir
Check these standard reports .
MCTA --- Customer Analysis
MC+E --- Customer Sales Volume
MC+I --- Customer Credit Memos
MC(Q --- Sales Employee, Incoming Orders
MC-M --- Sales Employee Returns
MC-Q --- Sales Employee Sales Volume
MC-U --- Sales Employee Credit Memos
Regards
Srinath -
Non display of old Customers, Suppliers, Sales Reps and Staff
Is it possible to hide or not display old information in standard searches such as:
Customers
Suppliers
Items (can be done by unticking Sales and Purchase documents)
Sales Reps
Staff Members
I know we can add formatted searches, however more often than not we already we may have a formatted search in place for something else?
Most of the clients existing software have this functionality as standard, whereas SBO does not.Good call Kevin.
Anything marked as Inactive should be hidden from display as a matter of course (an inactive flag would need to be added to some masterdata), with a check box on the find form to display inactive if required. -
Are there any apps which helps resolving this? Say as for example it can turn my wiriting to some ascii text and then it becomes highly reusable.
Advanced features can be that it understands drawings and convert them into separate jpegs which can be reused as well
I need some suggestions. I think sales perople who use ipad a lot can give really good aviceHi AReyes42,
Given you had just purchased this phone 20 days before it became defective, I of course can understand you being upset by the described experience. I honestly wish the representatives you spoke to had been clearer in their advice to you.
Our return or exchange period for contract based phones is 14 days from the date of purchase. After that timeframe has past any defects or damage would need to be addressed by any coverage on the phone. Your phone has two types of coverage. It has its manufacturer’s warranty and the Geek Squad Protection (GSP) plan.
The manufacturer’s warranty should cover any defects within the first year of owning the phone; while your GSP would cover beyond that time, and any covered damage within the first year. Since you are claiming the unit is defective it should be covered by LG’s warranty, and you will need to work with them to get the phone repaired or replaced.
We could request a refurbished replacement under your GSP, but per the terms of your GSP you would be charged a service fee, and for a smartphone the service fee is $150. Since LG should not be charging to repair or replace your phone, under their warranty, I once again highly recommend you work with them towards getting this resolved.
I have filed a formal complaint on your behalf, and if you do have any questions for me please post back to this thread.
Thanks for posting,
Allan|Senior Social Media Specialist | Best Buy® Corporate
Private Message -
How to find the largest and the widest tables in Oracle 10g ?
Hi Folks,
Environment: 10g Rel 2
Can somebody please suggest the data dictionary view(s) that I can query to get a list of the longest (rows) and the widest (columns) tables in any schema ?
Thanks in advance
rogers42rogers42 wrote:
Hi,
Thanks for the replies.
By the "longest" table, I had meant a table with most number of rows. And few people had wisely pointed out the dba_tables view.
By the "widest table", I had meant a table with the most number of columns. Is there a view that can give me this info ?
Thanks
rogers42if your statistics are updated :
SELECT D.OWNER , D.TABLE_NAME
FROM DBA_TABLES D
WHERE D.OWNER NOT IN ('SYSTEM', 'SYS')
ORDER BY D.NUM_ROWS DESC
and try this code, for the second :)
DECLARE
CURSOR cur_tab
IS
SELECT D.OWNER AS OWNER , D.TABLE_NAME AS TABLE_NAME
FROM DBA_TABLES D
W_TABLE VARCHAR2(30);
W_OWNER VARCHAR2(30);
w_count_col NUMBER;
w_col_max NUMBER;
BEGIN
w_count_col := 1;
w_col_max := 1;
W_TABLE := 'TEST';
W_OWNER := 'TEST';
FOR c IN cur_tab LOOP
SELECT COUNT(*) INTO w_count_col
FROM DBA_TAB_COLS t
WHERE t.owner = c.OWNER
AND t.TABLE_NAME = c.TABLE_NAME
IF w_count_col >= w_col_max THEN
w_col_max := w_count_col;
W_TABLE := c.TABLE_NAME;
W_OWNER := c.OWNER ;
END IF;
END LOOP;
dbms_output.put_line(' w_col_max : '||w_col_max) ;
dbms_output.put_line(' W_TABLE: '||W_TABLE) ;
dbms_output.put_line('W_OWNER : '||W_OWNER) ;
END; -
Custom Policy Step and the WS-Security header attibute "mustUnderstand"
Hi there,
I have some issues testing the custom policy step that comes with OWSM (CustomAuthenticationStep), which i describe next.
I manage to compile/deploy the custom step successfully. I also restart the server and add the brand new step into the request pipeline. The pipeline only has two steps, a log step and a custom authentication step.
I develop a client for the gateway service which use the "Username to Authenticate" option of the Proxy Security. The other options (inbound/outbound integrity/encryption) are all unchecked.
When I test the client, the following SOAP message is produced:
<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"
xmlns:ns0="http://agesic.entidad/types/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<env:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
env:mustUnderstand="1">
<wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:Username>test</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">test</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</env:Header>
<env:Body>
<ns0:reverseElement>
<ns0:aString>Holas!</ns0:aString>
</ns0:reverseElement>
</env:Body>
</env:Envelope>
Which looks just fine. However I get the following exception:
javax.xml.rpc.soap.SOAPFaultException: SOAP must understand error: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:568)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at agesic.cliente.gateway.proxy.runtime.EchoReverseSoapHttp_Stub.reverse(EchoReverseSoapHttp_Stub.java:78)
at agesic.cliente.gateway.proxy.EchoReverseSoapHttpPortClient.reverse(EchoReverseSoapHttpPortClient.java:44)
at agesic.cliente.gateway.proxy.EchoReverseSoapHttpPortClient.main(EchoReverseSoapHttpPortClient.java:33)
If i look at the log produced by the custom step, it looks like the step was successfully passed.
********** Entering Custom Authentication execute method **********
Processing stage is Request
Request SOAP message is <?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="h
ttp://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins
tance" xmlns:ns0="http://agesic.entidad/types/" xmlns:wsu="http://docs.oasis-ope
n.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><env:Header><wsse
:Security env:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004
/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.or
g/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://sche
mas.xmlsoap.org/soap/envelope/"><wsse:UsernameToken xmlns:wsse="http://docs.oasi
s-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http:/
/docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><ws
se:Username>test</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/
wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">test</wsse
:Password></wsse:UsernameToken></wsse:Security></env:Header><env:Body><ns0:rever
seElement><ns0:aString>Holas!</ns0:aString></ns0:reverseElement></env:Body></env
:Envelope>
User locale is English
Client ip address is rhel4.tecinfo.com.uy:7777
Verified user is test
The problems is with the mustUnderstand attribute. It looks like no step tells the OWSM that he understands the header, so the OWSM pass through the pipeline and when it ends it thinks that that header was not processed properly.
I try to find documentation on this issue but I didn't find any.
Any ideas? Is there any way to specify that the step actually understands the ws-security header?
Thanks!
LeoOk. Thanks. The problem here is a little bit different. At the client side, we have the following:
<?xml version="1.0" encoding="UTF-8"?>
<oracle-webservice-clients xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='http://xmlns.oracle.com/oracleas/schema/oracle-webservices-client-10_0.xsd'>
<webservice-client>
<service-qname namespaceURI="http://agesic.entidad/" localpart="EchoReverse"/>
<port-info>
<wsdl-port namespaceURI="http://agesic.entidad/" localpart="EchoReverseSoapHttpPort"/>
<runtime enabled="security">
<security>
<inbound/>
<outbound>
<username-token password-type="PLAINTEXT" add-nonce="false" add-created="false"/>
</outbound>
</security>
</runtime>
<operations>
<operation name='reverse'>
</operation>
</operations>
</port-info>
</webservice-client>
</oracle-webservice-clients>
The <outbound> here is requered in order to use the WSS UserName token profile. I try to remove the <inbound/> to check if it was a problem like yours, but we still have the same exception.
The problem seems to be with the gateway at the server side.
Intercepting the communication between the client and the server, we are getting the following response:
<?xml version="1.0" encoding="UTF-8"?>
<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"
xmlns:ns0="http://agesic.entidad/types/">
<env:Body>
<env:Fault>
<faultcode>env:MustUnderstand</faultcode>
<faultstring>SOAP must understand error:
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
We need a way to instruct the gateway that he actually understands the wss header.
Any ideas?
Thanks!
Leo
Maybe you are looking for
-
Feature Request: Log of alerts
Network Monitor has been great at identifying high usage events: disk, memory, etc. However, many of those can be tied to backups running or SQL Server environments where ram and disk usage are going to be high for periods of time and there is not
-
How can I merge 'to dos' from SN iCal to 'reminders' app on ML
Hi, This is a question RE a clean install of ML ... moving from SL (which I did a few months back). I have since noticed that there are a number of older 'to dos' that I need to refer to from before the upgrade. None if these were transferred over, b
-
I CANNOT INSTALL I-TUNES 64 BIT ON MY COMPUTER. I HAVE A DELL 750 OPTIPLEX DESKTOP COMPUTER RUNNING WINDOWS 7 PROFESSIONAL SP1, INTEL Q965/Q963 EXPRESS CHIPSET FAMILY. THE ERROR MESSAGE I KEEP ON GETTING EVERY SINGLE TIME IS: Could not access ne
-
Running all *.sql files in one go
Hi All, Can anyone help me in running all *.sql files in specific folder in one go??
-
Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Call Library function to read the data from the card and now I want it to go directly to sys