web stats
Custom Web Service WSDL question - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-23-2014, 04:19 PM
mtod mtod is offline
OBX.2 Kenobi
 
Join Date: Aug 2013
Posts: 57
mtod is on a distinguished road
Default Custom Web Service WSDL question

I created a Custom Web Service using the example from http://www.mirthcorp.com/community/w...+Connect+3.0.1

Compiles fine and I can sent it data but I can only send it a single string within the arg0 element.

And when reviewing the WSDL it does not seem to match up to the methods.
Do I have to create a custom WSDL?

Note: This is on a Mirth Connect Appliance VM.

WSDL:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.4-b01. -->
<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.4-b01. -->
<definitions name="DefaultAcceptMessageService" targetNamespace="http://ws.connectors.connect.mirth.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.connectors.connect.mirth.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<types>
<xsd:schema>
<xsd:import schemaLocation="http://localhost:8081/services/mirth?xsd=1" namespace="http://ws.connectors.connect.mirth.com/"/>
</xsd:schema>
</types>
<message name="acceptMessage">
<part name="parameters" element="tns:acceptMessage"/>
</message>
<message name="acceptMessageResponse">
<part name="parameters" element="tns:acceptMessageResponse"/>
</message>
<portType name="DefaultAcceptMessage">
<operation name="acceptMessage">
<input message="tns:acceptMessage" wsam:Action="http://ws.connectors.connect.mirth.com/DefaultAcceptMessage/acceptMessageRequest"/>
<output message="tns:acceptMessageResponse" wsam:Action="http://ws.connectors.connect.mirth.com/DefaultAcceptMessage/acceptMessageResponse"/>
</operation>
</portType>
<binding name="DefaultAcceptMessagePortBinding" type="tnsefaultAcceptMessage">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="acceptMessage">
<soapperation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="DefaultAcceptMessageService">
<port name="DefaultAcceptMessagePort" binding="tnsefaultAcceptMessagePortBinding">
<soap:address location="http://localhost:8081/services/mirth"/>
</port>
</service>
</definitions>
Reply With Quote
 

Tags
custom webservice, java

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 09:54 AM.


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