I am using Oracle9i and Forms6i and want to retrieve records from another Oracle database which is only accessible through a web service using SOAP/XML objects. Suppose the target table is called:

SUBSCRIBER(sub_mobileno,
           sub_name,
           sub_dob,
           sub_address,
           sub_city)

Help me with the XML code to retrieve a particular record from the target table.

    Requires Free Membership to View

You're mixing a few different things here and I'm not sure exactly what you're looking for.

Since you specifically ask about SOAP, I'll approach it from that angle.

You won't use SOAP to query a specific table for a specific row. If the other database is designed for SOAP, they can probably supply you with a URL where you can UTL_HTTP or AQ to retrieve the SOAP message.

Normally you will call a stored procedure and pass it parameters. The stored procedure will return the data.

There is a very good document for Oracle9i at http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96621/adx11soa.htm#1005578.

I don't know of any specific SOAP interfaces in Forms6i. You will probably call a stored procedure in the database and that will act as your SOAP interface. Your interface should convert your request into a SOAP message and then decode that message for you on the way out.

Check out the above link and if you have a more specific question, please post it here.

This was first published in August 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: