Forum Discussion

asseldonk01's avatar
asseldonk01
Contributor
12 years ago

Automating test when web service converts message

I want to automate the testing of a web service which converts a message and sends it to another web service. This is happening in a oracle soa environment. I can manually check the converted xml but would like to use soapui or something else to automate this check. Does anyone have suggestions?
  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    Are you saying that you are calling a web service request and that calls internall another service. But, finally a response is received the request you have sent, is it correct? Are you facing any issue to automate this?
  • The webservice converts a message and passes this message to another webservice which does something and passes it also. At some point in time the first webservice receives a small response.
    I am looking at a way to verify the conversion automatically with soapui. This all happens in an Oracle Soa environment.
  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    Sorry, is there some thing that you are allowed to share or we can see some visuals(white board work image/soapui screen shot etc.,) to get it more clear?
  • Hi Rao, I do not have anything visual but will try to explain it.

    XML Message is sent to webservice A following a specific datamodel X and corresponding XSDs. This message is converted there by XQUERY to another XML which adheres to another data model Y.
    That message is passed to webservice B where something is registered into a database.
    Webservice B passed a response to webservice A. At webservice A this response is converted to the original datamodel X. This response onlys says that the whole process is succesfully processed.

    I would like to check the conversion via soapui from datamodel X to datamodel Y at webservice A.

    I already have received a suggestion to implement a seperate webservice which performs the conversion and sends the converted XML back as a response but maybe there is another idea.

    The conversion is logged in the oracle SOA bus where I can extract it manually.

    Hope this makes it clear.