Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

CXF : unable to login on soap service #11

@adrienchabot

Description

@adrienchabot

Describe the bug

Hi,

I'm trying to connect using soap service provided by safekeeping-cxf and experiencing issues.
The getVersion() soap operation is working fine.
When I login() with authServer/base64/user/password/port I get an Unsupported authentication type:class com.vmwar e.safekeeping.external.type.options.ConnectOptions.
It seems that "options" element (of login() operation) is linked to "ConnectOptions" causing the object to never beeing recognized as instanceOf pscConnectOptions ... and so failing with previous error.

Is it a bug or am i missing something ? :)

Reproduction steps

1. sended this request to /sdk entrypoint

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cxf="http://cxf.safekeeping.vmware.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <cxf:login>
         <options>
            <authServer>11.22.33.44</authServer>
            <base64>false</base64>
            <password>password</password>
            <port>902</port>
            <user>Administrator@vsphere.local</user>
         </options>
      </cxf:login>
   </soapenv:Body>
</soapenv:Envelope>


### Expected behavior

Got 500 error code with  `Unsupported authentication type:class com.vmwar
e.safekeeping.external.type.options.ConnectOptions` error

### Additional context

Debian 11 / OpenJDK 11 / Safekeeping master

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions