INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Zero Iteration Count error with Oracle XML db

Zero Iteration Count error with Oracle XML db

(OP)
I'm not sure if this is the correct forum for this query so apologies if I'm in the wrong place.

I'm looking for help with an error I'm getting back from Oracle using a SOAP XML message to perform an INSERT.  I can't find any documentation on this so my concern is that Oracle's XML DB interface might just allow queries and not insert or updates.  Anyway I send the following SOAP message:

<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2002/06/soap-envelope ">
  <env:Body>
    <query xmlns="http://xmlns.oracle.com/orawsv">
      <query_text type="SQL">
        <![CDATA[INSERT into subscriber (SUBSCRIBER_KEY, SUBSCRIBER_ID, SUBSCRIBER_EMAIL) VALUES (subscriber_seq.nextval, :f, :g)]]>
      </query_text>   
      <bind name="f">myuser</bind>
      <bind name="g">myuser@myaddress.com</bind>
            <pretty_print>false</pretty_print>
    </query>
  </env:Body>
</env:Envelope>

and I get back an ORA 24333 which is "Zero iteration count" so I'm not telling it how many times to execute from what I can work out:
       <OracleError>
        <ErrorNumber>ORA-19202</ErrorNumber>
        <Message><![CDATA[Error occurred in XML processing]]></Message>
      </OracleError>
       <OracleError>
        <ErrorNumber>ORA-24333</ErrorNumber>
        <Message><![CDATA[zero iteration count]]></Message>
      </OracleError>


Does anyone have any pointers on how to get around the error and what I might be missing?  

Many thanks for any help provided.
DP.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close