Soap Port
HI Experts,
Is it possible to change the port that the system publishes on soap sender individually,
i mean that in each scenario, i will use a different port.
>Is it possible to change the port that the system publishes on soap sender individually, i mean that in each scenario, i will use a different port.
App server maintain various services on the different port. Example:Webservices uses transport protocol http(s) port to host this service. You cannot have different port for each scenario. BTw, why do you want different port for each scenario?
Similar Messages
-
SOAP ports with cluster setup and BES?
Okay, our cluster setup in NetWare (yes, still NetWare cluster) with Groupwise 7.0.3 we have unique TCP ports for the client/server (like 1677-something). Even though each clustered node has a unique IP and is running in protected memory.
That being said:
We'd like to enable SOAP for use with BES and GWArchive.
The issue/question:
Do either of these figure out the SOAP port for each PO? Or must the SOAP port be the same among all the PO's for BES to work properly?
If the SOAP port must be the same (I'm not the BES admin, so I don't know if the setup lets you specify just one port or if you can defined them per PO), can you run multiple POA on the same physical host (keep in mind, this is clustered with protected memory) and use the same TCP port # for SOAP?kjhurni wrote:
> Okay, our cluster setup in NetWare (yes, still NetWare cluster) with
> Groupwise 7.0.3 we have unique TCP ports for the client/server (like
> 1677-something). Even though each clustered node has a unique IP and is
> running in protected memory.
>
> That being said:
>
> We'd like to enable SOAP for use with BES and GWArchive.
>
> The issue/question:
>
> Do either of these figure out the SOAP port for each PO? Or must the
> SOAP port be the same among all the PO's for BES to work properly?
>
> If the SOAP port must be the same (I'm not the BES admin, so I don't
> know if the setup lets you specify just one port or if you can defined
> them per PO), can you run multiple POA on the same physical host (keep
> in mind, this is clustered with protected memory) and use the same TCP
> port # for SOAP?
>
>
I haven't used BES, but in general there's no auto-discover method for
SOAP ports, so yes they'd probably have to be the same port. -
Groupwise Mobile Issue - multiple SOAP Ports
Hi All,
I'm having an issue with Groupwise Mobile.
I've got multiple POAs hosted on the same server (using different ports), and GMS can only access one of them. The one that it can access is using the standard 7191 SOAP port.
Is there a trick to get mail to pass across another port? Users can authenticate, but synchronization doesn't work.
Thanks,
MattOriginally Posted by mikebell90
There used to be a known issue with soap that if you had multiple poas
on the same ip, you could only access one
It seems to be working now. But I'm not sure how I fixed it.
To complicate things, I think I was suffering from two separate issues that presented themselves as one problem.
One of the changes I made was to install GWM as a trusted app, rather than using user based authentication. This seemed to help GWM access POAs with SOAP ports other than 7191.
The other "issue" I had seemed to "heal" itself. The user account I was using to troubleshoot this showed up with the following message in it's inbox:
Syncing resumed - password resupplied
Your password was resupplied, and Intellisync Mobile Suite is now syncing normally again
...so I'm assuming that GWM was caching bad authentication data. I just couldn't seem to get this data to flush out, even after deleting and re-adding the user in GWM, cycling services, and rebooting servers. -
Soap port already in use (856B) GW 703
Anyone run into this problem where if you have multiple POA's on single server and if you enable SOAP to use default port of 7191 on both POA's, one or other POA complains about "soap port already in use (856B)" and shuts down that POA.
BES doesn't seem to have option for add'l port number assignments? Or is there a workaround to allow both POA's to listen on same port number?
Any help is greatly appreciated!
ThanksOn Tue, 22 Sep 2009 13:36:02 +0000, josejimenez wrote:
> Anyone run into this problem where if you have multiple POA's on single
> server and if you enable SOAP to use default port of 7191 on both POA's,
> one or other POA complains about "soap port already in use (856B)" and
> shuts down that POA.
Makes sense. You can't run multiple services on the same server using
the same IP address and port.
> Or
> is there a workaround to allow both POA's to listen on same port number?
Use multiple IP addresses and bind each POA to a specific IP.
Joe Marton
Novell Knowledge Partner
SUSE Linux Enterprise 11 is ready for action. -
No supported SOAP Port found to test. Please validate WSDL
Hi I deployed a BPEL process.
When I click Initiate link to test it .
it shows above error ' No supported SOAP Port found to test. Please validate WSDL'
Where I am doing wrong ?
Thanks
PraveenHi This is my WSDL from BPEL console
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="SyncItemEBIZProvBPELABCSImpl" targetNamespace="http://xmlns.oracle.com/ABCSImpl/EBIZ/Core/SyncItemEBIZProvBPELABCSImpl/V1" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/ABCSImpl/EBIZ/Core/SyncItemEBIZProvBPELABCSImpl/V1" xmlns:itemabcs="http://xmlns.oracle.com/ABCSImpl/EBIZ/Core/SyncItemEBIZProvBPELABCSImpl/V1" xmlns:itemebo="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/Item/V1" xmlns:svcdoc="http://xmlns.oracle.com/Services/Documentation/V1" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:itemsvc="http://xmlns.oracle.com/EnterpriseServices/Core/Item/V1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/ABCSImpl/EBIZ/Core/SyncItemEBIZProvBPELABCSImpl/V1" xmlns:itemabo="http://www.example.org/SyncItemPublicationInput">
<import namespace="http://xmlns.oracle.com/EnterpriseServices/Core/Item/V1" location="http://ap6032fems.us.oracle.com:7831/AIAComponents/EnterpriseBusinessServiceLibrary/Core/Item/ItemEBS.wsdl" />
- <types>
- <xsd:schema targetNamespace="http://xmlns.oracle.com/ABCSImpl/EBIZ/Core/SyncItemEBIZProvBPELABCSImpl/V1" elementFormDefault="qualified" xmlns:itemabcs="http://xmlns.oracle.com/ABCSImpl/EBIZ/Core/Item/V1" xmlns:itemebo="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/Item/V1" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:svcdoc="http://xmlns.oracle.com/Services/Documentation/V1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/SyncItemEBIZProvBPELABCSImpl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:itemabo="http://www.example.org/SyncItemPublicationInput">
<xsd:import namespace="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/Item/V1" schemaLocation="http://ap6032fems.us.oracle.com:7831/AIAComponents/EnterpriseObjectLibrary/Release1/Core/EBO/Item/ItemEBM.xsd" />
<xsd:import namespace="http://www.example.org/SyncItemPublicationInput" schemaLocation="http://ap6032fems.us.oracle.com:7831/AIAComponents/ApplicationObjectLibrary/EBiz/ApplicationInterfaces/Item/Schemas/ItemABM.xsd" />
</xsd:schema>
</types>
- <message name="SyncItemResponseMessage">
<part name="SyncItemPublicationConfirmation" element="itemebo:SyncItemPublicationConfirmationEBM" />
</message>
- <message name="SyncItemRequestMessage">
<part name="SyncItemPublication" element="itemebo:SyncItemPublicationEBM" />
</message>
- <message name="SyncItemABMRequestMessage">
<part name="Item" element="itemabo:item" />
</message>
- <message name="SyncItemABMResponseMessage">
<part name="ItemStatus" element="itemabo:itemStatus" />
</message>
- <portType name="SyncItemEBIZProvBPELABCSImplCallback">
- <operation name="onResult">
<input message="tns:SyncItemResponseMessage" />
</operation>
</portType>
- <portType name="SyncItemEBIZProvBPELABCSImpl">
- <operation name="initiate">
<input message="tns:SyncItemRequestMessage" />
<output message="tns:SyncItemResponseMessage" />
</operation>
</portType>
- <binding name="SyncItemEBIZProvBPELABCSImplCallbackBinding" type="tns:SyncItemEBIZProvBPELABCSImplCallback">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="onResult">
<soap:operation style="document" soapAction="onResult" />
- <input>
<soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <binding name="SyncItemEBIZProvBPELABCSImplBinding" type="tns:SyncItemEBIZProvBPELABCSImpl">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="initiate">
<soap:operation style="document" soapAction="initiate" />
- <input>
<soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="SyncItemEBIZProvBPELABCSImplCallbackService">
- <port name="SyncItemEBIZProvBPELABCSImplCallbackPort" binding="tns:SyncItemEBIZProvBPELABCSImplCallbackBinding">
<soap:address location="http://set.by.caller" />
</port>
</service>
- <service name="SyncItemEBIZProvBPELABCSImplService">
- <port name="SyncItemEBIZProvBPELABCSImplPort" binding="tns:SyncItemEBIZProvBPELABCSImplBinding">
<soap:address location="http://set.by.caller" />
</port>
</service>
- <plnk:partnerLinkType name="SyncItemEBIZProvBPELABCSImpl">
- <plnk:role name="SyncItemEBIZProvBPELABCSImplProvider">
<plnk:portType name="tns:SyncItemEBIZProvBPELABCSImpl" />
</plnk:role>
- <plnk:role name="SyncItemEBIZProvBPELABCSImplRequester">
<plnk:portType name="tns:SyncItemEBIZProvBPELABCSImplCallback" />
</plnk:role>
</plnk:partnerLinkType>
- <plnk:partnerLinkType name="ItemEBS_PL">
- <plnk:role name="ItemEBS_Role">
<plnk:portType name="itemsvc:ItemEBS" />
</plnk:role>
</plnk:partnerLinkType>
</definitions> -
Hi everyone,
I'm trying to call a web service, which I've previously designed. As the location of the webservice I used the format:
http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
I didn't know the port, so I left it out, hoping it would be ok. I used a configuration like this instead:
http://host/XISOAPAdapter/MessageServlet?channel=party:service:channel
When I now call the SOAP request with XML Spy using the generated WSDL, I get the following error message:
HTTP error: could not POST file
'location' on server 'host' (500)
So it's a 500 error I'm getting, and I wonder if this is because I haven't specified a port. If so, how can I find out, what port to use for a SOAP request? Is there a standard port?
Thank you,
AlexHi,
You have to Use the XI'sServer Port which starts with 5xx00... where xx is the instance no
Check thsi for better clarity
http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
Also Look at this Blog which deals with Direct posting to IS
Using the SOAP inbound channel of the Integration Engine
REgards
Seshagiri
Edited by: N V Seshagiri on Aug 13, 2008 9:09 AM -
Hello,
My 'Search' webservice is created from a Stateless EJB. I would like to change the Soap port from the default 'searchSoapHttpPort' to something else.
How can this be done? I have tried changing the WSDL directly, but when the webservice is regenerated, changes are lost. I have also tried changing the .jaxrpc file.
Thanks!Hey,
Thanks for the reply, but I didn't understand much.
Guess I'm just going to try and look on why I can't change the context path when deploying a webservice package using ant tasks.
Thanks again for the reply.
William -
I'm attempting to talk to one of our development post offices using soapui 3.6.1. On sending a soap login request, I'm getting back a 400 error. On the PO screen, I see
Code:
11:44:51 048 SOAP Action Return Code = ea01
The http trace from soapui shows:
Code:
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "POST /soap HTTP/1.1[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "SOAPAction: "loginRequest"[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Host: 131.156.57.152:7182[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content-Length: 789[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:met="http://schemas.novell.com/2005/01/GroupWise/methods">[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Header>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <typ:gwTrace>true</typ:gwTrace>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Header>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Body>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:loginRequest>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:auth type="types:PlainText">[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <typ:username>Bob</typ:username>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <typ:password>Test</typ:password>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:auth>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:version>1.02</met:version>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <!--Optional:-->[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:application>BEEP</met:application>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <!--Optional:-->[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:userid>true<met:userid>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <!--Optional:-->[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:system>true</met:system>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:loginRequest>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Body>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "</soapenv:Envelope>"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 301 Moved Permanently[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 301 Moved Permanently[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Location: http://131.156.57.152:7151/soap[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "POST /soap HTTP/1.1[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "SOAPAction: "loginRequest"[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content-Length: 789[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Host: 131.156.57.152:7151[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:met="http://schemas.novell.com/2005/01/GroupWise/methods">[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Header>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <typ:gwTrace>true</typ:gwTrace>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Header>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Body>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:loginRequest>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:auth type="types:PlainText">[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <typ:username>Bob</typ:username>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <typ:password>Test</typ:password>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:auth>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:version>1.02</met:version>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <!--Optional:-->[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:application>BEEP</met:application>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <!--Optional:-->[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:userid>true<met:userid>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <!--Optional:-->[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:system>true</met:system>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:loginRequest>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Body>[\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "</soapenv:Envelope>"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 400 [\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 400 [\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Date: Mon, 04 Apr 2011 11:44:51 GMT[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Server: NetWare GroupWise POA 8.0.2[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Content-Type: text/html[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Pragma: no-cache[\r][\n]"
Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "[\r][\n]"
The PO is GW802 (not sure what HP version) on NetWare 6.5 Sp8. The only doc I've been able to find on ea01 is in the errorCodes document:
Code:
define en WERR_NCSP_BAD_PARAMETER "Bad parameter passed to a NCSP function"
//NGD
//NGD EA01
//NGD Description: Bad parameter (Class 3).
//NGD Conditions: Bad parameter was passed to function.
//NGD Solutions: Contact Customer Support and report the conditions
//NGD under which the error was encountered.
which is interesting, but not especially informative. There are a few references to ea01 in the forumst, mostly by Mike, saying it's a soap error.
I'm hoping that this is something simple that I'm missing. I'll gladly admit to being new at GW SOAP connections, but I think the request I submitted follows the samples in the docs and should return something other than an internal error.Is SOAP enabled on the POA?
What is the configured SOAP port on the POA?
Is SSL required for SOAP?
Port 7191 is the default port for SOAP.
I see two ports tried: 7182 and 7151.
The SOAP port is different than the HTTP port
on the POA.
Preston
>>> On Monday, April 04, 2011 at 11:06 AM,
dgersic<[email protected]>
wrote:
> I'm attempting to talk to one of our development post offices using
> soapui 3.6.1. On sending a soap login request, I'm getting back a 400
> error. On the PO screen, I see
>
>
> Code:
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
> 11:44:51 048 SOAP Action Return Code = ea01
>
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
>
> The http trace from soapui shows:
>
>
> Code:
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "POST /soap HTTP/1.1[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Accept‑Encoding:
gzip,deflate[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content‑Type:
> text/xml;charset=UTF‑8[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "SOAPAction:
"loginRequest"[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "User‑Agent: Jakarta
> Commons‑HttpClient/3.1[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Host:
131.156.57.152:7182[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content‑Length: 789[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:typ="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:met="http://schemas.novell.com/2005/01/GroupWise/methods">[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Header>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <typ:gwTrace>true</typ:gwTrace>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Header>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Body>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:loginRequest>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:auth
> type="types:PlainText">[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <typ:username>Bob</typ:username>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <typ:password>Test</typ:password>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:auth>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:version>1.02</met:version>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
<!‑‑Optional:‑‑>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:application>BEEP</met:application>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
<!‑‑Optional:‑‑>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:userid>true<met:userid>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
<!‑‑Optional:‑‑>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:system>true</met:system>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:loginRequest>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Body>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "</soapenv:Envelope>"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 301 Moved
> Permanently[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 301 Moved
> Permanently[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Location:
> http://131.156.57.152:7151/soap[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "POST /soap HTTP/1.1[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Accept‑Encoding:
gzip,deflate[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content‑Type:
> text/xml;charset=UTF‑8[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "SOAPAction:
"loginRequest"[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "User‑Agent: Jakarta
> Commons‑HttpClient/3.1[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Content‑Length: 789[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "Host:
131.156.57.152:7151[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:typ="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:met="http://schemas.novell.com/2005/01/GroupWise/methods">[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Header>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <typ:gwTrace>true</typ:gwTrace>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Header>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <soapenv:Body>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:loginRequest>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " <met:auth
> type="types:PlainText">[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <typ:username>Bob</typ:username>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <typ:password>Test</typ:password>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:auth>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:version>1.02</met:version>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
<!‑‑Optional:‑‑>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:application>BEEP</met:application>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
<!‑‑Optional:‑‑>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:userid>true<met:userid>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
<!‑‑Optional:‑‑>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "
> <met:system>true</met:system>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </met:loginRequest>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> " </soapenv:Body>[\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:>> "</soapenv:Envelope>"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 400 [\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "HTTP/1.1 400 [\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Date: Mon, 04 Apr 2011 11:44:51
> GMT[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Server: NetWare GroupWise POA
> 8.0.2[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Content‑Type:
text/html[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "Pragma: no‑cache[\r][\n]"
> Mon Apr 04 11:44:52 CDT 2011:DEBUG:<< "[\r][\n]"
>
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
>
> The PO is GW802 (not sure what HP version) on NetWare 6.5 Sp8. The only
> doc I've been able to find on ea01 is in the errorCodes document:
>
>
> Code:
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
> define en WERR_NCSP_BAD_PARAMETER "Bad parameter passed to a NCSP
function"
> //NGD
> //NGD EA01
> //NGD Description: Bad parameter (Class 3).
> //NGD Conditions: Bad parameter was passed to function.
> //NGD Solutions: Contact Customer Support and report the
> conditions
> //NGD under which the error was encountered.
>
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
>
> which is interesting, but not especially informative. There are a few
> references to ea01 in the forumst, mostly by Mike, saying it's a soap
> error.
>
> I'm hoping that this is something simple that I'm missing. I'll gladly
> admit to being new at GW SOAP connections, but I think the request I
> submitted follows the samples in the docs and should return something
> other than an internal error. -
WSDL with SOAP Binding and Attachement
Hello
I'm trying to define a WSDL-Definition which defines a operation called getFile() which returns a file as a SOAP attachement. I created the follwing file which I can verify without any problems. However if I try to compile it with wscompile (wscompile -gen:server -mapping build/mapping.xml -d build -nd build -classpath . config.xml) I get the follwing error:
error: output message of binding operation "getFile" does not have a SOAP body extension
When I remove the line
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
wscompile generates the classes but gives the following warnings:
warning: ignoring port "FileDistributorIFPort": not a SOAP port
warning: Service "FileDistributorService" does not contain any usable ports
Which is somehow clear because I did not define the soap binding.
Any ideas what I can do so I can transmit a file via SOAP using attachements?
Here's the file
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="FileDistributorService"
targetNamespace="urn:Foo"
xmlns:tns="urn:Foo"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<types>
<xsd:schema targetNamespace="urn:Foo"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<xsd:element name="getFile">
<xsd:complexType>
<xsd:all>
<xsd:element name="mySymbol" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="getFileResponse">
<xsd:complexType>
<xsd:all>
<xsd:element name="result" type="float"/>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ArrayOfBinary">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="xsd:binary[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</types>
<message name="m1">
<part name="body" element="tns:getFile"/>
</message>
<message name="m2">
<part name="body" element="tns:getFileResponse"/>
<part name="file" type="tns:ArrayOfBinary"/>
</message>
<portType name="pt1">
<operation name="getFile">
<input message="tns:m1"/>
<output message="tns:m2"/>
</operation>
</portType>
<binding name="b1" type="tns:pt1">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="getFile">
<soap:operation soapAction="getFile"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<mime:multipartRelated>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content part="file" type="tns:ArrayOfBinary"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
</binding>
<service name="FileDistributorService">
<port name="FileDistributorIFPort" binding="tns:b1">
<soap:address location="http://localhost:8080/fxm/FileDistributorImpl"/>
</port>
</service>
</definitions>
Thanks a lot!
OliverNot very sure, but i suspect that there is an error here in your WSDL :
<mime:multipartRelated>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content part="file" type="tns:ArrayOfBinary"/>The type attribute should be a valid Mime Type.
Quoting from the WSDL Specification
The type attribute contains the MIME type string. A type value has two portions, separated by a slash (/), either of which may be a wildcard (*). Not specifying the type attribute indicates that all MIME types are acceptable.
Why not try the following instead of the last line above
<mime:content part="file" type="*/*"/> -
Soap response the web service test page
Hi
I am trying to write the static client for a wlw web service. This web service doesn't have @jws:protocol specified, so it has get, post and soap. When I call one of its method using soap port in my static client, it returns the html looks like the weblogic test page for this web service. Here it is:
<-------------------- RESPONSE TO CLIENT --------------->
URL : http://localhost:7001/webservices/testWS.jws
Response Code :200
Headers :
Date=Thu, 07 Feb 2008 17:18:08 GMT
Content-Length=11724
Content-Type=text/html; charset=UTF-8
Expires=Thu, 01 Jan 1970 00:00:00 GMT
Connection=Keep-Alive
Set-Cookie=JSESSIONID=Hr9Qt7BTQQzvM0pGZhvyPjL7typsrTK1GLp0BZZQnRGFwfx90x8K!606
033313; path=/
Envelope :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<title>BEA WebLogic Workshop: testWS.jws Web Service</title>
<link rel=stylesheet href="testWS.jws?.RESOURCE=shared.css">
<body>
<table border=0 cellspacing=0 cellpadding=0 width="100%">
.....First why doesn't it return soap message? And it doesn't execute the method at all. How can I make it call the method and return the soap message?
Thanks
Edited by Holy at 02/08/2008 9:45 AMFigured out that the testWS.jws is deployed to use ssl. But the wsdl generated has http. It works fine after I manually changed to https.
-
Is my webservise supporting SOAP 1.2
With JDeveloper 10.1.3.4.0
- created a class with name MyClass
- I created a webservice with name MyWebService as:
- J2EE 1.4 (JAX-RPC) Web Service
- Published the MyClass component with a HelloWorls method
- Checked the “Autogenerate Service Endpoint Interface”
- Checked the” SOAP 1.2 Binding”
- SOAP Message Format: Document/Wraped
- Checked the “Enabel REST Access to SOAP Ports”
- Checked the “Generate Schema with Qualified Elemnts”
A client of my WS that is calling my WS from a .NET client is telling me that my WS is not supporting SOAP 1.2, My oc4j is also reporting the error :
oracle.j2ee.ws.common.soap.fault.SOAP11VersionMismatchException: Version Mismatch.
My .NET customer have seen my “oracle-webservice.xml” and the wsdl file and tell me that we are using wrong “SOAP envelope” schema “http://schemas.xmlsoap.org/soap/envelope/”. The right one should be : http://www.w3.org/2003/05/soap-envelope/
What is this? I did check the “SOAP 1.2 Binding” when generating my WS, what more is it to do, to create a WS with SOAP 1.2 with JDeveloper?
Thanks
Per Jørgen VigdalWell, that link is for the late-2011 model, the OP has an early-2011 model.
Look here for detailed info on his computer:
http://www.everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i7-2.0- 15-early-2011-unibody-thunderbolt-specs.html
However the answer is the same, you have SATA3 in the main bay.
The problems are in the optical bay, as your motherboard supports sata3 also for it, but the cable and shielding are not good enough for SATA3 speed. So, if you place a SATA3 SSD in the optical bay, it is going to perform erratically.
No problems instead placing your original HD in the optical bay, as it is a SATA2 disk.
The only mechanical HD featuring a SATA3 interface are the newest hybrid drives from Seagate, size 750 Gb and up. These cannot be mounted in the optical bay... -
Invoke remote SOAP Servlet using ESB SOAP Service component
Hello
I am new to ESB and JDeveloper as well, have been working with Eclipse since now. I have the following problem I can not solve at this time.
I have a SOAP Servlet running on Apache Tomcat 5, which I can call from simple JAVA code using the URL http://localhost:8080/omar/registry/soap
The servlet is defined/described within Tomcat using the web.xml file like:
<servlet>
<servlet-name>
ebxmlrr-soap-receiver-servlet
</servlet-name>
<servlet-class>
org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
I have already made a web service, which I have deployed on Oracle Application Server (using the SOA suite). In the web service I have wrapped a simple JAVA class which uses the SOAPConnection class to connect to http://localhost:8080/omar/registry/soap and sends a simple SOAP message successfully.
My question is, can I use the http://localhost:8080/omar/registry/soap URL directly from an ESB SOAP Service to send messages to the SOAP Servlet (not to use the web service in Oracle Application Server, but to connect directly to the SOAP Servlet on Tomcat) ?
Regards
ZoltI have found a WSDL file provided to test the SOAP service I have mentioned before.
The content of the WSDL looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:tns="http://omarebxmlrrwsdlnew/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="StandaloneTestService" targetNamespace="http://omarebxmlrrwsdlnew/">
<types/>
<message name="StandaloneTest_sendMessage">
<part name="Message" type="xsd:string"/>
</message>
<message name="StandaloneTest_sendResponse">
<part name="Response" type="xsd:string"/>
</message>
<portType name="StandaloneTestPortType">
<operation name="sendMessage" parameterOrder="Message">
<input message="tns:StandaloneTest_sendMessage"/>
<output message="tns:StandaloneTest_sendResponse"/>
</operation>
</portType>
<binding name="StandaloneTestBinding" type="tns:StandaloneTestPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="sendMessage">
<soap:operation/>
<input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://omarebxmlrrwsdlnew/"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://omarebxmlrrwsdlnew/"/>
</output>
</operation>
</binding>
<service name="StandaloneTestService">
<port name="StandaloneTestPort" binding="tns:StandaloneTestBinding">
<soap:address location="http://localhost:8080/omar/registry/soap"/>
</port>
</service>
</definitions>
Where the address specifies the address of the SOAP service
When I try to use this WSDL inside an ESB SOAP Service I get the following error:
The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type.
The message StandaloneTest_sendMessage in operation sendMessage of porttype StandaloneTestPortType is invalid.
Please select another porttype or fix the wsdl.
How can I get pass by this error, what is wrong with the WSDL file ? -
9505 Post Office unavailable, with POA 2014 using SOAP SSL
Hi,
I don't know if there is something strange with my customers system, or I found a bug...
I've just upgraded the Primary and PO server to GW2014, while WebAccess server is still on 2012. Trying to log in gives error 9505 that the PO is unavailable. All communication to https://po-ip:7191/soap is working fine.
Disabling SSL on SOAP and WebAccess is functioning again. As there are no SOAP SSL switches in the webacc.cfg I'm not able to make it work with SSL.
Is there some way to fix this - except upgrading WebAccess to 2014, or disabling SSL on SOAP??In article <[email protected]>, Pfronteri wrote:
> Is there some way to fix this - except upgrading WebAccess to 2014, or
> disabling SSL on SOAP??
I guess the question is "what is keeping WebAccess 2012 around?"
It is easy enough to upgrade, and if you have some GW 2012 POs around
there is a mechanism in Webaccess 2014 that will have it redirect to an
older Webaccess URL if the POA is still on an older version.
On a POA you can have two SOAP ports. Perhaps one SSLized for most
things, the other open for the old Webaccess.
Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks! -
We have gotten web feature services to work using the xml post method and are trying to test the SOAP request method. We loaded the wsdl into SoapUI and have not been able to successsfully get a SOAP request to work. Does anyone have an example of calling WFS services via SOAP instead of xml post?
HI aERonAUtical96 ,
<wsdl:port name="SOAP-Port" binding="service-SOAP">
<soap:address location="http://server1:8084/service-2.0/soap"/>
</wsdl:port>
<wsdl:port name="wsn-notify-SOAP-Port" binding="tns:NotificationProducerSOAPBinding">
<soap:address location="http://server1:8084/wfs-2.0/soap"/>
</wsdl:port>
<wsdl:port name="wsn-subscription-SOAP-Port" binding="tns:SubscriptionManagerSOAPBinding">
<soap:address location="http://server1:8084/wfs-2.0/soap"/>
</wsdl:port>
As per this you would be having different SoapAction for different operations.
Inside Proxy service configuration Operation Selection ConfigurationSelect Selection Algorithm as SOAPAction Header
Other way around is to virtualize your three proxy service( PS_2. ..3... 4 ) with another frontend proxy service.( PS_1) PS_1 ----> PS_2/PS_3/PS_4..----> Business Service
You can make Any SOAP Proxy Service ( PS_1) and handle the SOAP request and then use conditional branching to route it to either PS_2/PS_3/PS_4 on local transport to avoid HTTP call from PS_1 to PS_2/PS_3/PS_4service.
- It is considered good etiquette to reward answer with points (as "helpful" - 5 pts - or "correct" - 10pts).
Regards,
Abhinav Gupta -
Problem to generate classes from a gsoap server's wsdl with wsimport
Hello,
I trie for a long time to generate my client classes from a wsdl file with wsimport. The wsdl file was generated by gsoap.
Here, the wsdl file :
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="form"
targetNamespace="https://enterprise-name-masked.com/form.wsdl"
xmlns:tns="https://enterprise-name-masked.com/form.wsdl"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:generic="generic"
xmlns:xop="http://www.w3.org/2004/08/xop/include"
xmlns:xmime4="http://www.w3.org/2004/11/xmlmime"
xmlns:form="form"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="generic"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:generic="generic"
xmlns:xop="http://www.w3.org/2004/08/xop/include"
xmlns:xmime4="http://www.w3.org/2004/11/xmlmime"
xmlns:form="form"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<import namespace="http://www.w3.org/2004/08/xop/include"/>
<import namespace="http://www.w3.org/2004/11/xmlmime"/>
<import namespace="http://www.w3.org/2003/05/soap-encoding"/>
<simpleType name="service">
<restriction base="xsd:string">
<enumeration value="service-none"/><!-- enum const = 0 -->
<enumeration value="service-ident"/><!-- enum const = 1 -->
<enumeration value="service-pool"/><!-- enum const = 2 -->
<enumeration value="service-hwr"/><!-- enum const = 3 -->
<enumeration value="service-form"/><!-- enum const = 4 -->
<enumeration value="service-document"/><!-- enum const = 5 -->
</restriction>
</simpleType>
<simpleType name="result-code">
<restriction base="xsd:string">
<enumeration value="ok"/><!-- enum const = 0 -->
<enumeration value="already-exists"/><!-- enum const = 1 -->
<enumeration value="not-found"/><!-- enum const = 2 -->
<enumeration value="cant-connect"/><!-- enum const = 3 -->
<enumeration value="exception"/><!-- enum const = 4 -->
<enumeration value="bad-conversion"/><!-- enum const = 5 -->
<enumeration value="bad-values"/><!-- enum const = 6 -->
<enumeration value="session-not-found"/><!-- enum const = 7 -->
<enumeration value="initialization-failed"/><!-- enum const = 8 -->
</restriction>
</simpleType>
<complexType name="result">
<sequence>
<element name="code" type="generic:result-code" minOccurs="1" maxOccurs="1"/>
<element name="details" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="form"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:generic="generic"
xmlns:xop="http://www.w3.org/2004/08/xop/include"
xmlns:xmime4="http://www.w3.org/2004/11/xmlmime"
xmlns:form="form"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<import namespace="http://www.w3.org/2004/08/xop/include"/>
<import namespace="http://www.w3.org/2004/11/xmlmime"/>
<import namespace="http://www.w3.org/2003/05/soap-encoding"/>
<simpleType name="area-type">
<restriction base="xsd:string">
<enumeration value="area-type-text"/><!-- enum const = 0 -->
<enumeration value="area-type-numeric"/><!-- enum const = 1 -->
<enumeration value="area-type-date"/><!-- enum const = 2 -->
<enumeration value="area-type-checkbox"/><!-- enum const = 3 -->
<enumeration value="area-type-slider"/><!-- enum const = 4 -->
<enumeration value="area-type-draw"/><!-- enum const = 5 -->
<enumeration value="area-type-identifier"/><!-- enum const = 6 -->
</restriction>
</simpleType>
<simpleType name="format">
<restriction base="xsd:string">
<enumeration value="A5"/><!-- enum const = 0 -->
<enumeration value="A4"/><!-- enum const = 1 -->
<enumeration value="A3"/><!-- enum const = 2 -->
<enumeration value="A2"/><!-- enum const = 3 -->
<enumeration value="A1"/><!-- enum const = 4 -->
<enumeration value="A0"/><!-- enum const = 5 -->
</restriction>
</simpleType>
<complexType name="area">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="x" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="y" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="width" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="height" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="comments" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="area-type" type="form:area-type" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="area-with-string">
<sequence>
<element name="area" type="form:area" minOccurs="1" maxOccurs="1"/>
<element name="string" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="area-with-integer">
<sequence>
<element name="area" type="form:area" minOccurs="1" maxOccurs="1"/>
<element name="integer" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="area-with-range">
<sequence>
<element name="area" type="form:area" minOccurs="1" maxOccurs="1"/>
<element name="lower" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="upper" type="xsd:double" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="areas">
<sequence>
<element name="areas" type="form:area" minOccurs="0" maxOccurs="unbounded"/>
<element name="string-areas" type="form:area-with-string" minOccurs="0" maxOccurs="unbounded"/>
<element name="integer-areas" type="form:area-with-integer" minOccurs="0" maxOccurs="unbounded"/>
<element name="range-areas" type="form:area-with-range" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="group">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="areas" type="form:areas" minOccurs="1" maxOccurs="1"/>
<element name="groups" type="form:group" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="background">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="md5" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="mime" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="num-page" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="pattern-type">
<sequence>
<element name="print-once" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="has-identifier" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="page">
<sequence>
<element name="num-page" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="format" type="form:format" minOccurs="1" maxOccurs="1"/>
<element name="is-portrait" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="background" type="form:background" minOccurs="1" maxOccurs="1"/>
<element name="areas" type="form:areas" minOccurs="1" maxOccurs="1"/>
<element name="groups" type="form:group" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="document-new">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="pattern-type" type="form:pattern-type" minOccurs="1" maxOccurs="1"/>
<element name="form-pages" type="form:page" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="document">
<sequence>
<element name="uuid" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="pattern-type" type="form:pattern-type" minOccurs="1" maxOccurs="1"/>
<element name="form-pages" type="form:page" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="document-info">
<sequence>
<element name="uuid" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="page-count" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="Data">
<sequence>
<element ref="xop:Include" minOccurs="1" maxOccurs="1"/>
</sequence>
<attribute ref="xmime4:contentType" use="optional"/>
</complexType>
<complexType name="login-response">
<sequence>
<element name="result" type="generic:result" minOccurs="1" maxOccurs="1"/>
<element name="session" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<!-- operation request element -->
<element name="login" type="xsd:string"/>
<!-- operation request element -->
<element name="password" type="xsd:string"/>
<!-- operation response element -->
<element name="result" type="generic:result"/>
<!-- operation response element -->
<element name="uuid" type="xsd:string"/>
<!-- operation request element -->
<element name="session" type="xsd:string"/>
<!-- operation request element -->
<element name="aform" type="form:document-new"/>
<!-- operation response element -->
<element name="form" type="form:document"/>
<!-- operation request element -->
<element name="md5" type="xsd:string"/>
<!-- operation response element -->
<element name="data" type="form:Data"/>
<!-- operation response element -->
<element name="exists" type="xsd:boolean"/>
<!-- operation response element -->
<element name="backgrounds" type="form:background"/>
<!-- operation response element -->
<element name="forms" type="form:document"/>
<!-- operation response element -->
<element name="forms-info" type="form:document-info"/>
</schema>
</types>
<message name="login">
<part name="login" element="form:login"/>
<part name="password" element="form:password"/>
</message>
<message name="uuid-response">
<part name="result" element="form:result"/>
<part name="uuid" element="form:uuid"/>
</message>
<message name="quit">
<part name="session" element="form:session"/>
</message>
<message name="response">
<part name="result" element="form:result"/>
</message>
<message name="new-form">
<part name="session" element="form:session"/>
<part name="aform" element="form:aform"/>
</message>
<message name="free-form">
<part name="session" element="form:session"/>
<part name="uuid" element="form:uuid"/>
</message>
<message name="get-form">
<part name="session" element="form:session"/>
<part name="uuid" element="form:uuid"/>
</message>
<message name="document-response">
<part name="result" element="form:result"/>
<part name="form" element="form:form"/>
</message>
<message name="get-file">
<part name="session" element="form:session"/>
<part name="md5" element="form:md5"/>
</message>
<message name="data-response">
<part name="result" element="form:result"/>
<part name="data" element="form:data"/>
</message>
<message name="set-file">
<part name="session" element="form:session"/>
<part name="md5" element="form:md5"/>
<part name="data" element="form:data"/>
</message>
<message name="file-exists">
<part name="session" element="form:session"/>
<part name="md5" element="form:md5"/>
</message>
<message name="exists-response">
<part name="result" element="form:result"/>
<part name="exists" element="form:exists"/>
</message>
<message name="list-form-backgrounds">
<part name="session" element="form:session"/>
<part name="uuid" element="form:uuid"/>
</message>
<message name="list-backgrounds-response">
<part name="result" element="form:result"/>
<part name="backgrounds" element="form:backgrounds"/>
</message>
<message name="list-forms">
<part name="session" element="form:session"/>
</message>
<message name="list-forms-response">
<part name="result" element="form:result"/>
<part name="forms" element="form:forms"/>
</message>
<message name="list-forms-info">
<part name="session" element="form:session"/>
</message>
<message name="list-forms-info-response">
<part name="result" element="form:result"/>
<part name="forms-info" element="form:forms-info"/>
</message>
<portType name="formPortType">
<operation name="login">
<documentation>Service definition of function form__login</documentation>
<input message="tns:login"/>
<output message="tns:uuid-response"/>
</operation>
<operation name="quit">
<documentation>Service definition of function form__quit</documentation>
<input message="tns:quit"/>
<output message="tns:response"/>
</operation>
<operation name="new-form">
<documentation>Service definition of function form__new_form</documentation>
<input message="tns:new-form"/>
<output message="tns:uuid-response"/>
</operation>
<operation name="free-form">
<documentation>Service definition of function form__free_form</documentation>
<input message="tns:free-form"/>
<output message="tns:response"/>
</operation>
<operation name="get-form">
<documentation>Service definition of function form__get_form</documentation>
<input message="tns:get-form"/>
<output message="tns:document-response"/>
</operation>
<operation name="get-file">
<documentation>Service definition of function form__get_file</documentation>
<input message="tns:get-file"/>
<output message="tns:data-response"/>
</operation>
<operation name="set-file">
<documentation>Service definition of function form__set_file</documentation>
<input message="tns:set-file"/>
<output message="tns:response"/>
</operation>
<operation name="file-exists">
<documentation>Service definition of function form__file_exists</documentation>
<input message="tns:file-exists"/>
<output message="tns:exists-response"/>
</operation>
<operation name="list-form-backgrounds">
<documentation>Service definition of function form__list_form_backgrounds</documentation>
<input message="tns:list-form-backgrounds"/>
<output message="tns:list-backgrounds-response"/>
</operation>
<operation name="list-forms">
<documentation>Service definition of function form__list_forms</documentation>
<input message="tns:list-forms"/>
<output message="tns:list-forms-response"/>
</operation>
<operation name="list-forms-info">
<documentation>Service definition of function form__list_forms_info</documentation>
<input message="tns:list-forms-info"/>
<output message="tns:list-forms-info-response"/>
</operation>
</portType>
<binding name="form" type="tns:formPortType">
<SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="login">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="quit">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="new-form">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="free-form">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="get-form">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="get-file">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="set-file">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="file-exists">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="list-form-backgrounds">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="list-forms">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
<operation name="list-forms-info">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal" namespace="form"/>
</output>
</operation>
</binding>
<service name="form">
<documentation>gSOAP 2.7.10 generated service definition</documentation>
<port name="form" binding="tns:form">
<SOAP:address location="https://enterprise-name-masked.com/cgi-bin/form.fcgi"/>
</port>
</service>
</definitions>And here, you can find the generated errors :
wsimport -s Sources -b http://www.w3.org/2004/08/xop/includ
e -b http://www.w3.org/2004/11/xmlmime form.wsdl
parsing WSDL...
[WARNING] src-resolve: Cannot resolve the name 'xmime4:contentType' to a(n) 'attribute declaration' component.
line 215 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
[WARNING] s4s-elt-invalid-content.1: The content of 'Data' is invalid. Element 'attribute' is invalid, misplaced, or occurs too often.
line 215 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
[WARNING] src-resolve.4.2: Error resolving component 'generic:result'. It was detected that 'generic:result' is in namespace 'generic', but components
from this namespace are not referenceable from schema document 'file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP
/WSImport/Test/Form/form.wsdl#types?schema2'. If this is the incorrect namespace, perhaps the prefix of 'generic:result' needs to be changed. If this
is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Re
cherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2'.
line 230 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
[WARNING] src-resolve: Cannot resolve the name 'xop:Include' to a(n) 'element declaration' component.
line 213 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
[WARNING] Ignoring SOAP port "form": it uses non-standard SOAP 1.2 binding.
You must specify the "-extension" option to use this binding.
line 533 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl
[WARNING] Service "form" does not contain any usable ports. try running wsimport with -extension switch.
line 531 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl
generating code...
compiling code...Could you tell me how to correctly generate my classes in this case ?
Thank you.
Edited by: morphet on May 30, 2008 6:12 AMAlchemista,
Not sure if you were able to solve your problem..but I was trying to do exactly what you were trying to do.. access a datasource from a simple Java client. However, you cannot do so by simply writing the Java class and running it. The simple Java client has to be deployed as a J2EE Application Client. The following tutorial shows how to create a J2EE Application Client using the non-J2EE Java class you have written.
http://developer.java.sun.com/developer/technicalArticles/J2EE/appclient
The article talks about accessing EJBs from a J2EE App. Client.. but since you only want to access the DataSource, just skip all the screens until it asks you to register the JNDI DataSource resources...
Let me know if you have any questions. You can email me at [email protected]
I hope this helps.
Maybe you are looking for
-
Text messages going to the wrong phone.
My son, wife and I each have an iPhone 4. My son and I each have aan iPad2. Recently, some text conversations between me and third parties showed up not only on my iPhone but also on my son's iPhone and iPad. I attempted to solve the problem by turn
-
Safari 5 does not display DIV properly - had to downgrade to 4.0.5
Say you have a web page with Then some JavaScript code later: document.getElementByID('div_a').style.display='inline'; Works fine under Safari 4.0.5 (and other browsers), ie the DIV content is displayed. DIV is not displayed under Safari 5. No JS err
-
Excise Assesable Value from Existing excise Invoices In Subcontracting
Dear All, My requirement is that during Subcontracting Challan creation System should pick assesable value of material from existing excise Invoices & not from Assesable Value maintained in J1id. I have done all subcontracting related configurations.
-
My Macbook pro 10.6.8 has become slow in recent days
My Macbook pro has become slow in recent days. I have installed Macafee internet security software and not sure whether this is slowing down my system. Especially Safari has become really slow. The videos stuck, when another webpage gets loaded in an
-
At Quicken is there a way to undo the las reconciliation?
At Quicken is there a way to undo the last reconciliation?