How to display web service child attributes in an adf table
I have a web service that return a Patient object and here is the Patient object definition in Java format:
public class Patient
String name;
Address[] address;
String mrn;
public class Address
String addressType;
String[] streetline;
String city;
String state;
String country;
I want to create an adf table that displays the patient name, patient home address and mrn. When I create a data control base on the WSDL and drag the nested child address but the address does not show up in the adf table. What is the solution to display a web service top object attributes and child object attributes in one adf table?
Thanks.
Thanks for your response.
After reading the link that you provided, the link seems to show how to resolve the web service complex type that is not display correctly in data control. My web service return type shows up correctly in the data control. Actually most of our child attribute is using complex type,
Public class Patient
Name name;
String mrn;
Address[] address;
Public class Name
String personFirstName;
String personLastName;
String orgName;
I have tried the following approaches:
1. Create web service data control based on a WSDL, try to display mrn, person first name (child attribute) and person last name (child attribute) in an adf table, when running the UI, there is only mrn attribute shows up. Even it is one-to-one cardinality I cannot have the child attribute's value show up.
2. Create a java bean that has the exact attributes that are needed for the adf table region. Create a POJO facade class that has a method that return this java bean. I then create data control for this POJO facade class. The adf UI will base on this POJO facade. I have included the code in the POJO facade method to call the web service proxy and when get the web service return complex type; I have to programmatically map the attributes back to the java bean.
The second approach is working but I need to write extra code to map the web service return type to the java bean. Is there any other option?
Thanks.
Similar Messages
-
How to configuration web service in bw that I can open query in explore ?
Hi
Can anyone tell me how to configuration web service that when I click " luanch in web browser "in BEX Anaylzer , Display Query on the web in BEx query Designer open rsplan modeling on web ,what parameter will be configuration ,give me step to step to configuration
thanks very muchconfigure a messager service and some paramers
thanks very much! -
How to consume web service in Agentry in SMP 3.0
Dear All , I am using web service in Agentry to retrive data but could not able to fetch it . I have made connection with HTTP-XML for consuming webservices. and also give proper information in Agentry.ini files Ex : [HTTPXML-2] name=HTTP-XML Back End authenticationCertificateStore=MY authenticationCertificateStorePassword= authenticationCertificateStorePasswordEncoded=false autoDequote=true ;baseURL=http://localhost:81 baseURL=http://sapes1.sapdevcenter.com:8080/sap/opu/odata/iwbep/gwdemo/ basicAuthenticationPassword=123456 basicAuthenticationPasswordEncoded=false basicAuthenticationUserID=P1466405733 constantsFile=httpxml_sd.ini enableAuthentication=false enablePreviousUserAuthentication=false httpConnectTimeout=300 httpReceiveTimeout=300 httpResolveTimeout=300 httpSendTimeout=300 listenOn= timeout=300 timeZoneName= useSSL=false xmlAllowXSLTScript=true xmlNamespaces= xmlResolveExternals=true xmlValidateOnParse=true for more information i have attached agentry XML screen shot as well . Can you please guide me how to consume web services in Agentry correct way ? Note : Currently i am using standard netweaver demo web services . Thanks & Regards , Kunal Varaiya
Tags edited by: Michael ApplebyThe XML Steps URL will be added to the Agentry.ini BaseURL. So you dont' need the full URL on the step.
So when Agentry Runs the step to call the backend it will go:
<BaseURL>/<Step's URL>
This way if you need to change the base URL, IE, going from Dev to QA to Production Server you only need to change the Base, and not go into every step and update it.
URL: This attribute contains the URL to which the Agentry Server will make a request. This value will be appended to the value configured as the base URL for the HTTP-XML system connection. This base URL is configured within the HTTP-XML system connection configuration options for the Agentry Server. Proper use of both this base URL option and the URL entered in the requests of the step definitions can support portability for the application, with the base URL being the implementation-specific portion and the step’s URL being the portion not likely to change for the same back end system from one implementation to the next.
http://help.sap.com/saphelp_smp303sdk/helpdata/en/7c/143d5d70061014b323be16eb0b0a77/frameset.htm
Stephen -
Displaying Web Service Results in a Report
have a web service registered with APEX (GET_DAY_OF_THE_WEEK).
It tests fine from the Web Service References Panel.
I am trying to follow the steps in the Oracle Database Application Express
User's Guide [Release 2.2 Part Number B28550-01] under the Displaying Web
Service Results in a Report topic.
When I get to step 6 = "For Result Tree to Report On, select the portion of the
resulting XML document that contains the information you want to include in the
report." ... THERE IS NO PLACE TO -->"...select the portion of the resulting
XML document that contains the information you want to include in the report".
Is this a bug? Is there a workaround?
SteveHi,
I'm having a similar problem - I have a work_date column and I want to use a date picker to select tasks performed between 2 dates.
For example, on Page 3 I have a username,client_name and task fields. I have 2 date pickers, one for start date and one for end date, and a submit button.
I want to be able to select '01-AUG-10' from the start_date, then '31-AUG-10' from the end_date, then redirect to a page (Page 41) when I click the button to run this:
select username,client_name,task,work_date
from replicon where
username = :P3_USERNAME and
work_date between to_date(:P3_START_DATE,'DD-MON-RR') and
to_date(:P3_END_DATE,'DD-MON-RR')
order by work_date
but I'm getting this error:
ORA-01858: a non-numeric character was found where a numeric was expected
The date format is "DD-MON-RR', and the work_date column is a "DATE" data type.
The button items are "P3_USERNAME","P3_START_DATE" and "P3_END_DATE" with the same values (&P3_USERNAME etc), and the button redirects to page 41.
I can't see how I can pass the username, start_date and end_date from Page 3 to Page 41. Am I using the correct ITEMS, or is it the query?
Help appreciated. -
How to use web service consumer as a source to connect to Salesforce?
I see a lot of articles and mapping xmls on how to use web service consumer but as a newbie I am not able to view the object schema from my salesforce enterprise WSDL after importing it in Informatica designer as a source. My enterprise wsdl has operations like create, retrieve, upsert, delete etc so if I want to read data from account then could someone guide me on how to use the web service consumer to view the fields after importing the wsdl. After importing the wsdl and selecting the operation say create, the columns (ports) displayed shows different groups but it doesn't list the object fields? what am I missing here? And what is the operation to read data from Salesforce is it "retrieve" from the entripse wsdl? As a newbie on this, I appreciate any inputs on this topic.
Magazinweg 7Taucherstraße 10Taucherstraße 10Av. Copacabana, 267Strada Provinciale 124Fauntleroy CircusAv. dos Lusíadas, 23Rua da Panificadora, 12Av. Inês de Castro, 414Avda. Azteca 123 I have the source table like this and i want to replace the character and sum up the numbers and how can i do it, I replace the character by reg_replace() function but I am not able to add the number because it is of not fixed length. My Output should be,71115705396
-
How to call web service using J2SE 1.3?
Dear All,
i have developed a web service by jdev 10.1.3 (JAX-RPC with web service security
enabled).
i generate the ws proxy (jdev 10.1.3) and run it with wsclient_extended.jar (required JDK 1.4.1 or above??).
but one of my client say he has to use J2SE 1.3.x (as OS=AIX 4.3 that without J2SE
1.4.x ), could anyone tell me how can generate ws proxy (with supporting
library) for jdk 1.3.x?
if oracle don't have such library / tools, any third party tools / library available?
thank you.
lspI'm found answer:
Java and SAP Portal blog: How to call web service from java code example -
How to call web services in WEB DYNPRO ABAP
Hi ABAPER'S,
Please let me know how to call web services in web dynpro.
Thanks,
Sandy.Hi Sandy,
Please check this blog..
/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
also cehck this...
call the webservices in webdynpro ABAP.
calling webservice in webdynpro component
Re: Web Services in WDA.
Cheers,
Kris.
Edited by: kissnas on May 24, 2011 11:37 AM -
How to consume Web Service in ABAP WebDynpro
Hi
I want to know the entire details about how to consume Web Service in WebDynpro application.
regards
PiyushhI piyush,
Have a look at this Blog by Thomas Jung.
/people/thomas.jung/blog/2007/12/17/consuming-services-with-abap
on consuming webservies thru webdynpro ABAP
Cheers
Mary -
How to develop web services in OSB using Eclipse OEPE
Hello,
We have some live web services developed in SOA ESB using JDeveloper.
We are now forced to migrate to OSB because of the reason that sometime next year ESB will be de-supported by Oracle.
I am looking for some good documentation which explains how to create web services in OSB using Eclipse. Please help.
I am installed Web logic + OEPE + OSB in my local machine already. All I need is to know how to start development.
Thanks,Hi,
You can start with this:
http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/tasks.htm
Cheers,
Vlad -
How to create Web services to communicate InfoPath forms to Share Point lists ?
How to create Web services to communicate InfoPath forms to Share Point lists ?
Hi,
As per your posting and my understanding, you wanted to communicate your infopath with SharePoint list/library. Please refer the below link(s) which may help you to solve your issue.
http://blogs.msdn.com/b/russmax/archive/2012/08/17/want-to-call-sharepoint-2010-web-services-within-browser-based-infopath-2010-forms.aspx
http://jaliyaudagedara.blogspot.in/2011/03/submitting-data-to-sharepoint-2010-list.html
or
http://blogs.msdn.com/b/infopath/archive/2007/03/26/submitting-to-a-sharepoint-list.aspx
If you need more help please let usknow
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever you
see a reply being an answer to the question of the thread, click "Mark As Answer -
How to create web services in java?
Hi,
I am a newbie to java webservices. Can anybody tell me how to create web services in java?
Any tutorial link or step by step doc would be useful.
Appreciate your help in this regard.
Thanks in advance.
naymo01.Creating web services in Java appears to depend highly upon the server you intend to use.
Here's a tutorial: http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html -
How to update web service proxy in JDeveloper 10.1.3.0
hi all
I want to ask how to update web service proxy in JDeveloper 10.1.3.0?What do you mean update?
You can go into the source code and update whatever you want.
If you mean that the WS spec has changed - then you can either change the proxy manually, or create another proxy. -
How to use Web services in BI 7?
HI all,
Can anyone pls let me know how to use Web services in BI
Thanks
Poojahttp://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/2d/64d029e74911d6b2e400508b6b8a93/content.htm -
How to create Web Service Proxy with help of WSDL.
Hi ,
How to create Web Service Proxy with help of WSDL .
Please help me .
Thanks in advacne for reply .check out this article. It has all the details
http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html -
How to Create Web Service from RFC?
Hello Friends,
Can anybody tell me how to crete Web Service through RFC. Our client server has no SOAMANAGER. I have to proceed through WSADMIN and WSCONFIG. Please help me to create WS through these transactions.
Give me the step by step proces i have to follow.
Kumarhi Kumar,
Refer this Doc:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c05b36f9-e7d4-2910-4488-a46be7ba2906
How to consume the Web Servise
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
regards
Vivekananthan.S
Maybe you are looking for
-
How can I add a new controlfile in ASM?
In the ASM,I can't copy any file.How Can I create a new online controlfile? Thanks!
-
BW development class can't be view through SE80
I go to se80 and click "edit object" , but I can't find the development class field. the fields are trasaction, message class..... I'm using BI7.0, where can I create a new development class in SE80
-
How can I flag HTTP session attributes to not be replicated ?
WLS 5.1 SP8 - In memory replication of a stateful servlet. Is there any way to flag data that has been, or is being, loaded into a HTTP session so as to not be replicated ? It's a long story, but we have some d
-
Windows 7 Enterprise login performance issue RODC site
Hi, We are deploying windows 7 enterprise to all our computers in our domain and we didn't have any performance issue on any site with Full DC. Now we are facing a problem with our multiple sites with RODC but only with new deployed windows 7 (WinXp
-
LR 5.4; Mac OS X 10.9. Where are the photos?
LR does not recognize photos in library when I select 'import'. There are lots of photos in my library. Thanks