webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Tue January 14, 2003 05:00 PM

    Hello,

    I have a flow that get one IDOC from a SAP System, I transform it to xml format and after I apply a xsl transformation. When I get the new xml I use the service stringToDocument and I pass the output of this service to pub.schema:validate for xsd validation.

    All looks fine, but when I see on the Integration Server, on the page transaction list, the transaction created. I get the next error on the transaction processing view as XML: conformsTo Parameter “IS_Schemas:Customer_Schema” is not a record

    The point is that after the validation I insert the information into a database table and the record is created.

    Can somebody say me why I get this error and how i can solve it??


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Wed January 15, 2003 02:54 PM

    Hi, jnco.

    What is the full path to the schema? Remember the following rules when specifying a namespace:

      [*]Omit package name [*]Separate folder names with "." [*]Separate the Service/Flow/Record name from the rest of the namespace with ":" [/list] For example, [I]folder.folder.folder:service[/i].

      Hope this helps.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Thu January 16, 2003 06:24 PM

    Hi Dan,

    I have the schema placed on:

    Package–> Prueba
    Folder–> IS_Schema
    Schema Name –> Customer_Schema

    I fill the param conformsTo with the next value–> IS_Schemas:Customer_Schema

    I think that this is the correct path. What do you think??

    Thank you very much.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Thu January 16, 2003 06:27 PM

    Hi, jnco.

    Hopefully it is not just a typo, but you specified that your conformsTo value is “IS_Schemas:Customer_Schema”.

    In your package structure, though, your folder is named “IS_Schema”. Note that it is singular here and plural in the conformsTo field.

    Was that the error?


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Fri January 17, 2003 09:20 AM

    Hi, Dan.

    Sorry, I had an error writting the message, the name of the folder is IS_Schemas and the conformsTo value is “IS_Schemas:Customer_Schema”.

    Do you have another solution for the problem???

    Many thanks in advance.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Tue April 08, 2003 02:51 AM

    Hi,

    I have right now same problem…did you solve it ?

    (conformsTo Parameter “IS_Schemas:Customer_Schema” is not a record )
    Can you help me ?

    Thanks in advance,

    R.W.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 7.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Tue April 08, 2003 04:00 PM

    Hi Ralph
    I guess U are passing record structure and in conformto you are passing schema. First change yours passing record structure to node then do the validation or in conform pass the record structure not the schema

    Ajay Arora


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: ConformsTo Parameter IS_SchemasCustomer_Schema is not a record

    Posted Tue April 08, 2003 05:04 PM

    Hi Jnco,

    Yes pls follow the ajay message, it will work…

    by mapping the record structure name i guess(IS_Schemas:record_Customer) to conformsTo of validate service.

    HTH.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB