Forum Discussion

trvd1707's avatar
trvd1707
New Contributor
16 years ago

Problem with Mock Service

I'm trying to configure a Mock Service to allow it to handle messages that come without a name space prefix on the messages. I have actual webservice servers that accept requests without the namespace prefix on the operation tag (and all tags inside it), but when I send the same valid request to a MockService  created from the same wsdl in SOAPUI, it rejects the request because it cannot find the operation.

Is it possible to configure a Mock Service to handle the operation tag without the namespace prefix?

thanks
  • Hi!

    hmm.. can you show the message generated by soapUI and the one you are trying without the prefixes?

    regards,

    /Ole
    eviware.com
  • trvd1707's avatar
    trvd1707
    New Contributor

     

     
         
            t
         

     


    Got

     
         
            Server
            com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [sayHello] and body element [sayHello] with SOAP Version [SOAP 1.1]
         

     


    When sending the same request to a web service running on CICS, that was generated using the same wsdl, CICS accepts the message and sends me a valid answer. On SOAPUI it always requires the operation tag to be defined with a nms prefix and this nms has to be declared on the soapenv:Envelope tag.