web stats
WSDL file storage location for listener? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2014, 09:38 AM
rastababy rastababy is offline
OBX.2 Kenobi
 
Join Date: Mar 2008
Posts: 72
rastababy
Default WSDL file storage location for listener?

Where does Mirth store the wsdl file for a custom webservice listener? My requests to it via a browser are showing: 404 Not Found: Invalid Request.

But the service is listening and accepting requests just fine. I would like to confirm the wsdl is correct.

Thanks.
Reply With Quote
  #2  
Old 04-03-2014, 11:09 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

Are you testing via browser on the same machine Mirth Connect is running on? If not, it's possible that there's a different in network configuration causing the issue.

The Web Service Sender will cache the WSDL in memory when sending for the first time, so it doesn't need to request it every single time.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 04-03-2014, 11:15 AM
rastababy rastababy is offline
OBX.2 Kenobi
 
Join Date: Mar 2008
Posts: 72
rastababy
Default

Testing on the same machine Mirth Connect is running on.

So the WSDL isn't stored anywhere?

using v3.0.1

Thx.
Reply With Quote
  #4  
Old 04-03-2014, 11:45 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

Quote:
Originally Posted by rastababy View Post
Testing on the same machine Mirth Connect is running on.

So the WSDL isn't stored anywhere?

using v3.0.1

Thx.
It is, but just in-memory, by JAX-WS. There's probably some way to disable caching, but I don't know what that would be off the top of my head, and it wouldn't be something that the Web Service Sender would currently support out of the box. However, you could use a HTTP Sender destination before your Web Service Sender in your channel to first make the WSDL request, manually confirm that it's valid, and then filter the subsequent destination as you see fit.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #5  
Old 04-03-2014, 12:09 PM
rastababy rastababy is offline
OBX.2 Kenobi
 
Join Date: Mar 2008
Posts: 72
rastababy
Default

Thanks for info. This seems to only be happening with custom webservices.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation