Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence 6.0.1 invalid WSDL

Edited

I have a problem with confluence api soap, when I start the confluence instance, the generated wsdl is correct.

....

<!--WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)-->
 <wsdl:types>
  <schema targetNamespace="http://xxx.xxx.xxx.xxx:8090/plugins/servlet/soap-axis1/confluenceservice-v2" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://rpc.confluence.atlassian.com"/>
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://beans.soap.rpc.confluence.atlassian.com"/>
   <import namespace="http://cluster.confluence.atlassian.com"/>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="ArrayOf_xsd_string">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>

....

But after 10-15 minutes, the wsdl is rebuilt incorrectly.

<!--WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)-->
 <wsdl:types>
  <schema targetNamespace="http://lang.java" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://rpc.confluence.atlassian.com"/>
   <import namespace="http://xxx.xxx.xxx.xxx:8090/plugins/servlet/soap-axis1/confluenceservice-v2"/>
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://beans.soap.rpc.confluence.atlassian.com"/>
   <import namespace="http://cluster.confluence.atlassian.com"/>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="String">
    <sequence>
     <element name="bytes" nillable="true" type="xsd:base64Binary"/>
     <element name="empty" type="xsd:boolean"/>
    </sequence>
   </complexType>
  </schema>
  <schema targetNamespace="http://xxx.xxx.xxx.xxx:8090/plugins/servlet/soap-axis1/confluenceservice-v2" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://rpc.confluence.atlassian.com"/>
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://lang.java"/>
   <import namespace="http://beans.soap.rpc.confluence.atlassian.com"/>
   <import namespace="http://cluster.confluence.atlassian.com"/>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="ArrayOf_tns1_String">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:String[]"/>

Change the basic string type to the String complex type, and add the namespace http://lang.java

 

Any idea why it might be?
thank you very much.

1 answer

0 votes
Mirek Community Leader Dec 30, 2021

Well.. The XML-RPC and SOAP APIs are deprecated since Confluence 5.5 (seems you are using Confluence 6.0.1), and may not work as expected. Confluence has a new REST API that is recommended. This is why this might not fully work.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

42,379 views 29 133
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you