Menu

WSDL - Dynamic Client

Help
2016-12-17
2017-01-12
  • Giovanni Di Orio

    Hi,

    I am trying to use the auto-generated wsdl to create a dynamic client. However, whenver I try to do that I always receive an error. I am using SoapUI tool to create requests. I imported the wsdl and everything seems ok. However, if I execute the request I always receive the HTTP 404 error. I attach the request, a printscreen with device info showed in the DPWS explorer, and the wsdl (generatedby JMDS).

    Do you have any suggestion?

    Thank you.

    Cheers,

    Giovanni

     

    Last edit: Giovanni Di Orio 2016-12-17
  • Chris

    Chris - 2017-01-03

    Hi Giovanni,
    your problem seems to be, that your client does not support eventing. not request-response or one-way is correct. ResourceCommSimpleEvent is a notification, because it only has an output message.
    The other warnings are probably related to this problem.

    BR,
    Chris

     
  • Chris

    Chris - 2017-01-03

    Also, the ReadData invoke message in your SoapUITest cannot be a valid request. The content-length: 122 indicates, that the message is too short. The HTTP 404 error is a little bit misleading, though :D

     
  • Giovanni Di Orio

    Dear Chris,

    thank you for the help. Maybe I have not configured properly the SoapUI tool. I have only added the WSDL and tried to invoke the readData operation. By the way, I am trying to use the JMEDS framework to implement an edge-based architecture for reading and analysing data. JMEDS seems good option to do that however I need to keep the devices free from any api and/or library, i.e. in REST we only need an URL to access the device, so any external application only need the url to create an http client and get data. For this reason, I want to be sure that an external application could potentially communicate with my devices by using the wsdl. Are you able to replicate the test (with a wethever device)? Furthermore, I aslo tried with wsimport from java to create the client and invoke the operation and it didn't work. Do you have any comment and/or suggestion?

    Thank you in advance for the help.

    Cheers,

    Giovanni

     

Log in to post a comment.