Forum Discussion

shelingzhang's avatar
shelingzhang
Occasional Contributor
15 years ago

how to make soapUI work with WsHttpBinding

Hi,

I am new with SoapUI, my question may be posted before, but I did a search it seems no similar one existed;
Here is my question
does SoapUI support wsHttpBinding?, I am using Pro trial version and try to see if it add more value than the free version.
if it doesn't support if there work around for my test, cause if I change to basicHttpBinding, the service is changed, and it is allowed in our current test.


Thanks

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    it depends on which QoS features you have enabled in your wshttpbinding but it should be possible albeit require some configurations.. can you share the WSDL you are trying to test?

    regards,

    /Ole
    eviware.com
  • shelingzhang's avatar
    shelingzhang
    Occasional Contributor
    That is the wsdl I grabed from somewhere and  when I test with basicHttpBinding, it works fine,
    when I changed to wsHttpBinding, I got Java nullPointer exception:
    Mon Nov 02 17:42:21 PST 2009:ERROR:java.lang.NullPointerException
      java.lang.NullPointerException
          at com.eviware.soapui.support.editor.inspectors.wsrm.WsdlRequestWsrmInspector.afterSubmit(WsdlRequestWsrmInspector.java:88)
          at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:150)
          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
          at java.util.concurrent.FutureTask.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)


    here is the wsdl file, it is so simple a



    targetNamespace="http://www.ecerami.com/wsdl/HelloService.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://www.ecerami.com/wsdl/HelloService.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">


     



     



     
         
         
     




     
     
         
         
           
            namespace="urn:examples:helloservice"
            use="encoded"/>
         
         
           
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            namespace="urn:examples:helloservice"
            use="encoded"/>
         
     




      WSDL File for HelloService

     

     

     





    please let me know where shoulud I modify;

    Thanks
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    i've added a np-check to the upcoming build here.. but I can't see how this WSDL is causing that error.. have you enabled WS-RM for your request?

    regards!

    /Ole
    eviware.com