User defined units in viLogger (1.0.1)
viLogger allows to define user specific units when setting up a channel definition. Is it possible to enter a custom unit? (e.g. a string for a custom unit, the rest is done with sensitivities)
Hello;
When creating a Virtual Channel, you have the option to create a Scale for that particular channel. Once you know the transfer function in between the voltage readings and the physical unity, you can input that as a scale for the channel, and input the unity you want in the unity field.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments
Similar Messages
-
Can I Add the User Defined Unit system?
Can I add the User Defined Unit, Just like mm, inch..?
My Clients are Korean.
So. They want to use the Korean traditional Unit system which Not defined in Indesign.
Pls Help me.Impliment IUnitOfMeasure with custom units.
-
User-defined units of measurement - cannot see mine in the MDM Console
Hi,
I've created some user-defined units of measurement through the UOM Manager. But when I try to assign those for a field type in my repository (through the Console) - I cannot do this because my custom units are absent in the list.
The situation makes me doubt if it is even possible to work with custom user-defined uom's in MDM...
Any ideas?
Thanks in advance.Hi Aliaksandr,
I don't know if this can solve your problem, but I have catch some problems on Measurements that have been solved when I installed the MDM Hotfix 1 (5.5.41.70 version 5.5 SP5).
Hope this can help you.
Vito -
User defined unit of measure info object
Hi Gurus
If there is need to create a user defined unit of measure info object, how will you do that?
Thanks in advance
RajuHi,
Go to RSD1--> Select Unit -->Specify Tech name and Description --> Activate.
Regards,
rik -
Using user-defined data types in Forms 6i
When I use the following code in Oracle Forms 6i
PROCEDURE test IS
prcl prcl_ty;
BEGIN
prcl := prcl.setParcel('xxx-xx-xxxx');
END;
I get 'Error 801'. However the above does work in SQL editor. The online help says PL/SQL8 client-side program units cannot support Oracle 8 object-related functionality and I suspect this is the reason I get the error from Forms. Is there a work-around for this.
The TYPE is defined as:
CREATE OR REPLACE
TYPE PRCL_TY AS OBJECT
(parcel VARCHAR2(11),
MEMBER FUNCTION getBook RETURN VARCHAR2,
MEMBER FUNCTION getMap RETURN VARCHAR2,
MEMBER FUNCTION getItem RETURN VARCHAR2,
MEMBER FUNCTION getItem_NS RETURN VARCHAR2,
MEMBER FUNCTION getSplit RETURN VARCHAR2,
MEMBER FUNCTION find RETURN VARCHAR2,
MEMBER FUNCTION find (yr in VARCHAR2) RETURN VARCHAR2,
MEMBER FUNCTION isValid RETURN BOOLEAN,
MEMBER FUNCTION toString RETURN VARCHAR2,
MEMBER FUNCTION toString (par IN VARCHAR2) RETURN VARCHAR2,
STATIC FUNCTION setParcel (istr IN VARCHAR2 DEFAULT '000-00-000A') RETURN prcl_ty) -- to be used as a constructor
NOT FINAL
CREATE OR REPLACE
TYPE BODY PRCL_TY AS
MEMBER FUNCTION getBook RETURN VARCHAR2 IS
BEGIN
return substr(self.parcel,1,3);
END;
MEMBER FUNCTION getMap RETURN VARCHAR2 IS
BEGIN
return substr(self.parcel,4,2);
END;
MEMBER FUNCTION getItem RETURN VARCHAR2 IS
BEGIN
return substr(self.parcel,6);
END;
MEMBER FUNCTION getItem_NS RETURN VARCHAR2 IS
BEGIN
return substr(self.parcel,6,3);
END;
MEMBER FUNCTION getSplit RETURN VARCHAR2 IS
BEGIN
return substr(self.parcel,9,1);
END;
MEMBER FUNCTION find RETURN VARCHAR2 IS
found varchar2(1);
BEGIN
begin
select 'x'
into found
from casrp
where cp_book_num = self.getBook
and cp_map_num = self.getMap
and cp_item_num = self.getItem
and rownum = 1;
return 'CASRP';
exception
when NO_DATA_FOUND then
begin
select 'x'
into found
from pro_prop
where pp_book_num = self.getBook
and pp_map_num = self.getMap
and pp_item_num = self.getItem
and rownum = 1
and NOT EXISTS (select 'x'
from cncl_prcl
where cr_book_num = self.getBook
and cr_book_num = self.getMap
and cr_book_num = self.getItem
and rownum = 1);
return 'PRO_PROP';
exception
when NO_DATA_FOUND then
return '';
end;
end;
END;
MEMBER FUNCTION find (yr IN VARCHAR2) RETURN VARCHAR2 IS
found varchar2(1);
BEGIN
begin
select 'x'
into found
from casrp
where cp_book_num = self.getBook
and cp_map_num = self.getMap
and cp_item_num = self.getItem
and cp_tax_yr = yr
and rownum = 1;
return 'CASRP';
exception
when NO_DATA_FOUND then
begin
select 'x'
into found
from pro_prop
where pp_book_num = self.getBook
and pp_map_num = self.getMap
and pp_item_num = self.getItem
and pp_tax_yr = yr
and rownum = 1
and NOT EXISTS (select 'x'
from cncl_prcl
where cr_book_num = self.getBook
and cr_book_num = self.getMap
and cr_book_num = self.getItem
and cr_tax_yr = yr
and rownum = 1);
return 'PRO_PROP';
exception
when NO_DATA_FOUND then
return '';
end;
end;
END;
MEMBER FUNCTION isValid RETURN BOOLEAN IS
i number;
BEGIN
for i in 1..8 loop
if substr(parcel,i,1) not between '0' and '9' then
return FALSE;
end if;
end loop;
if nvl(substr(parcel,9,1),'#') not between 'A' and 'Z' and
nvl(substr(parcel,9,1),'#') != '#' then
return FALSE;
end if;
return TRUE;
END;
MEMBER FUNCTION toString RETURN VARCHAR2 IS
BEGIN
return self.toString('-');
END;
MEMBER FUNCTION toString (par IN VARCHAR2) RETURN VARCHAR2 IS
BEGIN
return self.getBook||par|| self.getMap||par|| self.getItem;
END;
STATIC FUNCTION setParcel (istr IN VARCHAR2 DEFAULT '000-00-000A') RETURN prcl_ty IS
len number;
pos number;
lastch varchar2(1);
temp varchar2(30);
invalid_format exception;
pragma exception_init(invalid_format,-9001);
BEGIN
temp := upper(istr);
-- Find 1st occurance of '-'. If not in correct postion, pad book num with zeros.
pos := instr(temp,'-',1,1);
if pos > 0 then
if pos != 4 then
temp := lpad(substr(temp,1,pos-1),3,'0')||substr(temp,pos);
end if;
-- Find 2nd occurance of '-'. If not in correct postion, pad map num with zeros.
pos := instr(temp,'-',1,2);
if pos != 7 then
temp := substr(temp,1,4)||lpad(substr(temp,5,1),2,'0')||substr(temp,pos);
end if;
-- Pad item num
len := length(temp);
lastch := substr(temp,len);
temp := substr(temp,1,7)||lpad(substr(temp,8,len-1),3,'0');
if lastch between 'A' and 'Z' then
temp := temp||lastch;
end if;
end if;
temp := replace(temp,'-','');
if prcl_ty(temp).isValid then
return (prcl_ty(temp));
else
raise invalid_format;
end if;
END;
END;
Rich Hall
[email protected]You are correct in your assumptions. Client side PLSQL does not support user defined types like the one you are trying to use.
There are no workarounds I am afraid. -
Multiple input arguments in User defined funcions
Hi Experts,
I have a file to proxy sceanrio.Have to do one to one mapping of all the corresponding fields except 3 fields. for eg
1) - <Services>
<DisplayValue>Tax>Business Tax</DisplayValue>
</Services>
Sender Receiver
===== ========
Tax Functions
under the services tag the "Tax" is one of the sender's field .I need to map this "Tag" to the receiver field called as "function".My question is: can we do wz some user defined functions or we have to use java functions.If we use Java,what way we can implement in PI 7.1 because,i guess we can not use the multiple input arguments.
2) similarly,
- <LineOfBusiness>
<DisplayValue>Consumer Markets>Retail</DisplayValue>
</LineOfBusiness>
Sender Receiver
===== ========
Retail Sector
Retail is one of the sender field.it should be mapped wz another field "Sector" at receiver side.how to pick up the retail field and map it to the receiver side.Is there any user define function for this or we have to write java code if we have to go for Java,how it will be implemented in PI 7.1
3) similarly,
- <GeographicLocation>
<DisplayValue>Americas>North America>Null>United States & Virgin Isl.>United States,US,USA,United States of America</DisplayValue>
</GeographicLocation>
Sender Receiver
===== ========
Americas Region
North America Sub region
Null Area
UnitedStates,US,USA,United States of America Territory
As u all can see,the above corresponding sender fields should be mapped to Receiver fields.It all has coem under one line in XML.How to pick it up and map 1 to 1 at the receiver side bcoz receiver wants it as a separate fields.Is there any user define function for this or we have to write java code if we have to go for Java,how it will be implemented in PI 7.1
Experts,please help me out as this is a live scenario.
Thanks in Advance
VeeruHi,
here is the partial structure.pls have a look.
<Services>
<DisplayValue>Tax>Business Tax</DisplayValue>
</Services>
- <LineOfBusiness>
<DisplayValue>Consumer Markets>Retail</DisplayValue>
</LineOfBusiness>
- <GeographicLocation>
<DisplayValue>Americas>North America>Null>United States & Virgin Isl.>United States,US,USA,United States of America</DisplayValue>
</GeographicLocation>
I have to do mapping b/w tax and some receiver field and it is a 1 to 1 mapping.how to extract teh field "tax" from that beause there is also a field name "business tax ".
same with the field name "Retail" .
and also with the field names Americas>North America>Null>United States & Virgin Isl.>United States,US,USA,United States of America
I have to extract one-one field and map to corresponding single fields at the receiver side.
Have i presented properly.
Please help me out.
Thanks
Veeru -
User Defined Stock Removal Strategy
Hi,
We want to define a user defined stock removal strategy while creating TO for delivery using transaction LT03. This can be done in user exit MWMTO004. Although we modify the output table T_QMAT in this exit as per requirement , the TO is not split as per the table.
SAP proposes all the batch bins in table T_QMAT , but if all the delivery quantity is found in first bin itself , the TO is created with that bin only , no Split. We wish to split the TO as per table T_QMAT.
How to split the TO as per proposal from the exit ?
Please provide some ideas.
Regards,
TusharHello,
You can change the Storage unit type in this exit EXIT_SAPLL03A_005 of TO creation transaction.
I am not sure, If this helps you.
Thanks and Regards
Reddy -
Can I Add User Defined Tab Dialog From just like kTextFrameOptionsDialogBoss?
Can I Add User Defined Tab Dialog At Build-In kTabSelectableDialogBoss, just like kTextFrameOptionsDialogBoss?
If it is possible, How?
Pls Help Me...Impliment IUnitOfMeasure with custom units.
-
User Defined field and User defined values.
Curently testing this in the demo database before rolling it out to a customer.
I added a user defined field to my item master data base called Lengthcm of type Amount.
I have created a query:
SELECT u_lengthcm = CASE
WHEN $[oitm.blen1unit] = 5 THEN $[oitm.blength1] * 2.54
WHEN $[oitm.blen1unit] = 6 THEN $[oitm.blength1] * 2.54 * 12
ELSE 0 END
Length unit 5 is inches and length unit 6 is feet.
In Item Maintenance then I create a user defined value for the lengthcm field linked to the query and set to auto-update when the blength1 field changes.
This works perfectly for 1 inch through 9 inches (1" through 9") and fills in the centimeter value. When I put in a value in feet (1', 2'), it does nothing and if I put in any value of 10" or greater gives an error message:
[Microsoft][SQL Server Native Client 10.0][SQL Server] Arithmetic overflow error
converting nvarchar to data type numeric. 'Received Alerts' (OAIB).
Checking database structure back end, blen1unit is of type small int, blength1 is numeric of size 19, 6 and so is my lengthcm field.
Edited by: Danielle Ostach on Mar 18, 2011 8:18 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:19 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:20 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:21 PMHi Danielle ,
Try this...
SELECT u_lengthcm = CASE
WHEN $[oitm.blen1unit] = 5 THEN (cast(($[oitm.blen1unit]) as decimal(19,6))) * 2.54
WHEN $[oitm.blen1unit] = 6 THEN (cast(($[oitm.blen1unit]) as decimal(19,6))) * 2.54 * 12
ELSE 0 END
Regards,
Sachin -
hi all,
Can anyone explain the significance of user defined routines in lswm. In which scenario we use user defined routines. Can anyone explain userdefined routines with an example.
thanxs
hariHi,
Go to the transaction code LSMW. Create a new object. In the "Maintain object attributes" part, you define what standard object routine that you want to use. Here are a few from 46c
0001 Long texts
0010 GL a/c master record
0020 Material master
0030 Material BOM
0035 LIFO Layer
0040 Vendor master
0050 Customer master
0060 Purchasing info rec.
0070 Condition record
0080 Purchase requisition
0085 Purchase Order
0090 Sales documents
0100 Financial documents
0105 LockBox
0110 Goods movement
0120 Manual reservation
0130 Classification
0140 Class
0150 Characteristic
0160 Fixed assets
0170 Routing
0180 Planned indep.reqmts
0190 Doc. purch. info re
0210 Storage bin (WM)
0220 Warehouse stock (WM
0240 Inspection plans(QM
0250 Bank data
0260 Work center
0300 Rental unit
0310 Lease-Out
0320 Business entity
0330 Property
0400 Equipment
0410 Message (IH)
0420 Confirmation (IH)
0425 Measuring point
0430 Measuring document
0440 Functional location
0450 Object link
0460 Maintenance plan
0470 Equipment task list
0480 FnctnlLoc.TaskList
0490 Gen.task list
0555 HR master data
0600 PostCode,Loc.,St.,..
0602 PostCode,Loc.,St.,..
0610 Cities
0612 Locations
0620 Postal codes
0622 Postal codes
0630 Districts
0632 Districts
0640 Streets
0642 Streets
0650 P.O. boxes
0652 P.O. boxes
0777 Personnel Planning
0800 Do not use!
Each object has several methods under it, some for Batch input, or direct input, or some for Create, Change, Delete. It really depends on the object.
refer the link:
Lsmw
<b>Reward points</b>
Regards
Message was edited by:
skk -
Can i create user-defined fields that are checkboxes?
I need to create a set of user defined fields on Activities that are a checkboxes. I cant see any options in the manage user fields dialog to set the field as a checkbox, the only options are alphanumeric, Datetime, Units & Totals etc.
Can user defined fields be added that appear as checkboxes? if so, how do i do it?What you need will not be available by UDF. You need SDK programming for any Check Boxes. However, you may use predefined list for UDF to imitate part of functions of the check box.
Thanks,
Gordon -
Prevent user defined query from being activated with the CopyTo function
Hi, I have a user defined query defined in one of the quantity field (in the grid) in the goods receipt PO window.
The query updates the quantity depending on the number of another line field. The query works great, but I dont want it to be activated when a user clicks the "Copy From" purchase order. When this happens the query gets activated and changes the quantity.
The query is defined to be activated "when exiting altered column", i have not selected the "Refresh Regulary"
Please help!Thank you so much for replying,
this is my query, depending on the column U_Empaque (type of package), I look for the right conversion in the OITM table of the item. Then I use the number from the column U_Cantidad_Empaque (Quantity Of the Type of package) to multiply by the conversion factor that I have defined for the Item in the OITM user fields. The conversion is a standard conversion, so It needs to be modified by the user to set it to the real quantity of the unit of measure (or unit of inventory). The query works great, except for the CopyTo and CopyFrom functions.
Iam using 2007 A patch 45.
México's settings.
SELECT
CASE
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE1 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION1 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE1 = $[$38.U_Empaque.0])
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE2 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION2 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE2 = $[$38.U_Empaque.0])
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE3 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION3 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE3 = $[$38.U_Empaque.0])
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE4 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION4 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE4 = $[$38.U_Empaque.0])
END -
Transforming to a user defined projection produces incorrect results
Dear all
I have set up a user defined projection in Oracle for an obsolete Ordnance Survey projection based on the Cassini-Soldner projection. I've got the projection itself to work but when I went to do a transformation from British National Grid (SRID 81989) to my projection, it failed to transform correctly.
I have since realised I needed a transformation entry in the SDO_COORD_OPS table. However despite adding in an entry, which I've copied below, I cannot get the transformation to work correctly. Have I made a mistake iwth one of my entries or is there an entry I need to create else where in order for this to work. Also I am not certain what the difference is between CONVERSION and TRANSFORMATION. I would be grateful of any comments or help.
INSERT INTO SDO_COORD_OPS (
coord_op_id,
coord_op_name,
coord_op_type,
source_srid,
target_srid,
coord_tfm_version,
coord_op_variant,
coord_op_method_id,
uom_id_source_offsets,
uom_id_target_offsets,
information_source,
data_source,
show_operation,
is_legacy,
legacy_code,
reverse_op,
is_implemented_forward,
is_implemented_reverse)
VALUES (
819899616,
'British National Grid SRID 81989 to Cassini-Soldner vers D',
'TRANSFORMAION',
81989, -- this is the British National Grid projection
96163497, -- this is the obsolete projection
NULL,
1,
9633, -- this refers to Ordnance Survey National Transformation in SDO_COORD_OP_METHODS
NULL,
NULL,
'Brian Adams and Ordnance Survey',
'Brian Adams and Ordnance Survey',
1,
'FALSE',
NULL,
1,
0,
0);I also have a conversion entry for the obsolete projection. This is as follows:
INSERT INTO SDO_COORD_OPS (
coord_op_id,
coord_op_name,
coord_op_type,
source_srid,
target_srid,
coord_tfm_version,
coord_op_variant,
coord_op_method_id,
uom_id_source_offsets,
uom_id_target_offsets,
information_source,
data_source,
show_operation,
is_legacy,
legacy_code,
reverse_op,
is_implemented_forward,
is_implemented_reverse)
VALUES (
(1234567,
'Cassini-Soldner vers D',
'CONVERSION',
NULL,
NULL,
NULL,
NULL,
9806, -- this refers to Cassini-Solder in SDO_COORD_OP_METHODS
NULL,
NULL,
'Brian Adams',
'Brian Adams and Ordnance Survey',
1,
'FALSE',
NULL,
1,
1,
1);and I will be making use of the following two entries, although like above this may be wrong.
INSERT INTO SDO_COORD_OPS (
coord_op_id,
coord_op_name,
coord_op_type,
source_srid,
target_srid,
coord_tfm_version,
coord_op_variant,
coord_op_method_id,
uom_id_source_offsets,
uom_id_target_offsets,
information_source,
data_source,
show_operation,
is_legacy,
legacy_code,
reverse_op,
is_implemented_forward,
is_implemented_reverse)
VALUES (
961681989,
'Cassini-Soldner vers D to British National Grid SRID 81989',
'TRANSFORMAION',
96163497, -- this is the obsolete projection
81989, -- this is the British National Grid projection
NULL,
1,
9806, -- this refers to Cassini-Solder in SDO_COORD_OP_METHODS
NULL,
NULL,
'Brian Adams',
'Brian Adams and Ordnance Survey',
1,
'FALSE',
NULL,
1,
0,
0);
INSERT INTO SDO_COORD_OPS (
coord_op_id,
coord_op_name,
coord_op_type,
source_srid,
target_srid,
coord_tfm_version,
coord_op_variant,
coord_op_method_id,
uom_id_source_offsets,
uom_id_target_offsets,
information_source,
data_source,
show_operation,
is_legacy,
legacy_code,
reverse_op,
is_implemented_forward,
is_implemented_reverse)
VALUES (
961627700,
'Cassini-Soldner vers D to British National Grid SRID 27700',
'TRANSFORMAION',
96163497, -- this is the obsolete projection
27700, -- this is the OSGB 1936 / British National Grid projection
NULL,
1,
9806, -- this refers to Cassini-Solder in SDO_COORD_OP_METHODS
NULL,
NULL,
'Brian Adams',
'Brian Adams and Ordnance Survey',
1,
'FALSE',
NULL,
1,
0,
0);Kind regards
TimHi Mike
Thank you so much for your help. I see where I went wrong. I thought the unit of measurement referred to the unit used to measure the distance when working with the projection. As all measuring is done in metres, I thought every uom_id value entered had to be set to metres. Where as in fact the uom_id actually refers to the unit of the figure being entered in that particular insert statement and not the unit eventually used to measure distance. I thought the parameter_id value told Oracle that it was in degrees, not the uom_id, since parameter_id refers to either the longitude of origin or latitude of origin, depending on which statement was being entered.
I am coming at my work from the point of view of being a cartography and GIS specialist who is learning how to use Oracle, rather than an Oracle specialist who is learning about cartography and GIS. I found chapter 6 rather confusing whilst I was trying to understand how I insert a projection into Oracle, and in my confusion and attempts to understand what I needed to do, I made the above mistake.
It does state on page 6-11 of the spatial manual, for UOM_ID, "ID number of the unit of measure associated with the operation." However as I'd never set up a projection in Oracle before, I really needed more a detailed explanations as to what needs to be done and more importantly, why it needs to be done. The introduction for the table states "The SDO_COORD_OP_PARAM_VALS table contains information about parameter values for each coordinate system transformation method." However that doesn't really explain in enough detail what it means in terms of what you need to enter and why it needs to be entered.
There is one example of inserting a projection towards the end of the chapter but it does not explain the different stages of entry and what they mean in enough detail. I had to keep referring back to the tables, in order to try and understand what is going on and that got very confusing at times. I have both the original and revised editions of Pro Oracle Spatial but they just refer me to the spatial manual for the insertion of a user defined projection. It would be really good if someone wrote a book or booklet explaining in more detail the spatial projection creation side of things in Oracle.
I do not have privileges to insert the statements myself but when the person with the correct privileges returns from their Easter break I will get the changes made. Regarding the Airy 1830 projection, I am given two results in both cases when I run the below statements. I know that the original map uses the 1830 Airy and not the 1847 modified, which is why I've used the former in both cases. If there is another Airy that I have missed then I would be grateful if you could tell me which values I need and I will get those entries amended too:
select * from SDO_DATUMS
where datum_name like '%Airy%'
DATUM_ID DATUM_NAME DATUM_TYPE ELLIPSOID_ID PRIME_MERIDIAN_ID INFORMATION_SOURCE DATA_SOURCE SHIFT_X SHIFT_Y SHIFT_Z ROTATE_X ROTATE_Y ROTATE_Z SCALE_ADJUST IS_LEGACY LEGACY_CODE
6001 Not specified (based on Airy 1830 ellipsoid) GEODETIC 7001 8901 EPSG EPSG FALSE
6002 Not specified (based on Airy Modified 1849 ellipsoid) GEODETIC 7002 8901 EPSG EPSG FALSE
2 rows selected
select * from SDO_CRS_GEOGRAPHIC2D
where COORD_REF_SYS_NAME like '%Airy%';
SRID COORD_REF_SYS_NAME COORD_SYS_ID DATUM_ID INFORMATION_SOURCE DATA_SOURCE
4001 Unknown datum based upon the Airy 1830 ellipsoid 6422 6001 EPSG EPSG
4002 Unknown datum based upon the Airy Modified 1849 ellipsoid 6422 6002 EPSG EPSG
2 rows selectedAs I hadn't looked through chapter 6 of spatial manual since last August, in relation to my original insert statement for sdo_coord_ref_system table, it took me sometime to figure out where to locate the other tables containing the related entries I required. Which backs up my opinion for the need of even more detailed information on the different tables, including how they link and why they link.
Kind regards and once again thank you for your help
Tim -
Error while processing a user defined screen
Dear Experts,
We have developed an add on for our client in which we have a user defined screen before adding the GRPO. While adding that we are getting the error to generate this document first define the numbering series in the administration module.
this is happening only after we upgraded to the 2007 B PL 10 version. till that there was no problem. We are unable to remove and replace the UDO and UDT as we have data in it.
due to this we are unable to proceed with the GRPO.
Please help us.
thanks and regards,
Yeshwanth PrakashHi,
Please search the forum before posting a new message.
There are endless posts about that error.
Regards,
Vítor Vieira -
Issue with xsd Data type mapping for collection of user defined data type
Hi,
I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
Here is the code snippet.
sample.java
@WebMethod
public QueryPageOutput AccountQue(QueryPageInput qpInput)
public class QueryPageInput implements Serializable, Cloneable
protected Account_IO fMessage = null;
public class QueryPageOutput implements Serializable, Cloneable
protected Account_IO fMessage = null;
public class Account_IO implements Serializable, Cloneable {
protected ArrayList <AccountIC> fintObjInst = null;
public ArrayList<AccountIC>getfintObjInst()
return (ArrayList<AccountIC>)fintObjInst.clone();
public void setfintObjInst(AccountIC val)
fintObjInst = new ArrayList<AccountIC>();
fintObjInst.add(val);
Public class AccountIC
protected String Name;
protected String Desc;
public String getName()
return Name;
public void setName(String name)
Name = name;
For the sample.java code, the wsdl generated is as below:
<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions
name="SimpleService"
targetNamespace="http://example.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
>
<wsdl:types>
<xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://example.org/types"/>
<xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
</xs:schema>
<xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://examples.org"/>
<xs:complexType name="queryPageOutput">
<xs:sequence>
<xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="accountEMRIO">
<xs:sequence>
<xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
<xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
<xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
<xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
<xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
<xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="queryPageInput">
<xs:sequence>
<xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
<xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
<xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
<xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
<import namespace="http://example.org/types"/>
<xsd:complexType name="AccountQue">
<xsd:sequence>
<xsd:element name="arg0" type="ns1:queryPageInput"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="AccountQue" type="tns:AccountQue"/>
<xsd:complexType name="AccountQueResponse">
<xsd:sequence>
<xsd:element name="return" type="ns1:queryPageOutput"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
</schema>
</wsdl:types>
<wsdl:message name="AccountQueInput">
<wsdl:part name="parameters" element="tns:AccountQue"/>
</wsdl:message>
<wsdl:message name="AccountQueOutput">
<wsdl:part name="parameters" element="tns:AccountQueResponse"/>
</wsdl:message>
<wsdl:portType name="SimpleService">
<wsdl:operation name="AccountQue">
<wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
ns1:Action=""/>
<wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
ns1:Action=""/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="AccountQue">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SimpleService">
<wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
<soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
Can some one help me with this.
Thanks,
Sudha.Did you try adding the the XmlSeeAlso annotation to the webservice
@XmlSeeAlso({<package.name>.AccountIC.class})
This will add the schema for the data type (AccountIC) to the WSDL.
Hope this helps.
-Ajay
Maybe you are looking for
-
Hi, We are indexing file share with images and get the properties of Image Width, Image Height, Image Size (we show it as refiners in SharePoint after make it managed properties). Somehow when the picture is png format - we see only Size but not heig
-
Purchasing an iPhone in the States for use in Foriegn country
Am moving to Israel and looking to by an iphone before I leave the States. Will I be able to use the iphone in Israel?
-
How to stop the executable from starting when opened
Hi Guys, I am building an exe with the application builder. I am not able to find a way to stop the exe from running when opened. I dont need the exe to run. I know I m missing a very basic step here but I m not able to do that. Could anyone explain
-
DropDownByKey - support for selecting multiple items?
Hello Is there a simple way to allow a selection of multiple items (zero or more) when using a dropdown ui element? Thanks in advance Rob
-
Cover album flow has gone wierd!?
Hiya my cover flow browser thing has gone all wierd and doesn't display the album cover it just displays something that i can only describe as a really wierd and colourufl office block. Its doing it with my podcasts now so it only views the sound bit