Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA SOAP Document/Literal style

Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2012

Hi,

where can I change default rpc/enc style in JIRA SOAP (Axis) to document/literal? I can not find proper configuration file, where to do this. Should I set/add some property into the server-config.wsdd?

Thanks for help.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2012

I have written an Axis Query Hnadler plugin which outputs the wsdl in document/literal format. Could you test it if the following wsdl file works?

EDIT: i did another try with the Style wrapped in this worked in SoapUI. (jirasoapservice-wrapped-v2.txt)

Of course you have to replace http://yourserver.com/rpc in this file by your host name before you create your stubs or your dynamically set the stubs in your application

Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2012
Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2012

Thanks for link. Looks like simple example on logout method, but convert all JIRA SOAP API manually will be probably very complicated without a certain results. I have no proof, that complicate and more complex methods like create Issue will be working correctly.

Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2012
Original answer overwritten
Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2012

How to use new wsdl in proper way? After change host adress I created new soapUI project and try call login method, but following error is returned:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client</faultcode>
         <faultstring>No such operation 'in8'</faultstring>
         <detail>
            <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">L34000962148</ns2:hostname>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2012
Hi Radek, sorry i'm not an Axis expert but i guess the SoapService created by Jira does not understand the client now. My only hope is to change the class http://docs.atlassian.com/software/jira/docs/api/latest/com/atlassian/jira/soap/axis/JiraAxisSoapService.html so that in newly instantiated class the style is set using setStyle("document') and use is set using setUse("literal"). This is what i did to create the wsdl but obviously the soap services also have to run with that setting. But to me it looks like one has to change a class file for that. Is that still a way to go?
Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2012

Im not also Axis and WSDL guru, looks like I must find someone with more experiences in our company or find another solution for this issue. But I have yet one idea, maybe you known, if it is possible rebuild rpc soap plugin with some setting that will be generated document/literal wsdl style? In JIRA is server-config.wsdd file, in which I can set for example <parameter name="sendMultiRefs" value="false"/> and other Axis parameters, but Im not see any setting param for style.

Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2012
As far as i understand Axis the style parameter can be specified on an individual service level as described in http://gdp.globus.org/gt4-tutorial/multiplehtml/ch03s03.html i also haven't found anything in server-config.wsdd.
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2012

Maybe you can try jirasoapservice-wrapped-v2.txt

I had the same problem as you with the previous WSDL but this one works in SoapUI

Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2012

Thanks man, I have try some SoapUI calls and works fine. Must check integration with SAP yet.

Adam Papros
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2014

Hello, I am wondering if there is possibility that there exists a copy of the second version of converted wsdl ( I mean file that was attached to Dieter's comment from Apr 25, 2012). I am trying to download it(https://answers.atlassian.com/users/upfiles/jirasoapservice-wrapped-v2.txt), but I have "Page not found" message. I have the same problem as it is described in the issue. Thanks in advance.

Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2014

Try this one. This is the only copy I found. I hope that WSDL will work.

0 votes
Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2012

Up. No one known how can I get a WDSL in "document/literal" from Jira? I need to call the webservice interface of Jira (ver. 4.4) from another tool. Unfortunately, that other tool does only support WSDLs in the format "document/literal", and the WSDL provided by Jira is "RPC/encoded".

TAGS
AUG Leaders

Atlassian Community Events