An error occured in openwsman server when sending renew soap request

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

An error occured in openwsman server when sending renew soap request

George Varghese
This post was updated on .
Hi,

I am trying to send wsman request for 'renew' request. openwsman server is crashed when we send following requests,


Sending request:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
    <s:Header>
        <wsa:Action s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</wsa:Action>
        <wsa:To s:mustUnderstand="true">https://****:5986/wsman</wsa:To>
        <wsman:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</wsman:ResourceURI>
        <wsa:MessageID s:mustUnderstand="true">uuid:12345678-9abc-ef12-1311-151446110973</wsa:MessageID>
        <wsa:ReplyTo>
            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
        </wsa:ReplyTo>
    </s:Header>
    <s:Body>
        <wsen:Enumerate/>
    </s:Body>
</s:Envelope>

Response received:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
    <s:Header>
        <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
        <wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</wsa:Action>
        <wsa:RelatesTo>uuid:12345678-9abc-ef12-1311-151446110973</wsa:RelatesTo>
        <wsa:MessageID>uuid:c1628131-e32c-132c-8003-14eeddccbbaa</wsa:MessageID>
    </s:Header>
    <s:Body>
        <wsen:EnumerateResponse>
            <wsen:EnumerationContext>c15e77be-e32c-132c-8002-14eeddccbbaa</wsen:EnumerationContext>
        </wsen:EnumerateResponse>
    </s:Body>
</s:Envelope>
Response received:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
    <s:Header>
        <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
        <wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</wsa:Action>
        <wsa:RelatesTo>uuid:12345678-9abc-ef12-1311-151446110973</wsa:RelatesTo>
        <wsa:MessageID>uuid:c1628131-e32c-132c-8003-14eeddccbbaa</wsa:MessageID>
    </s:Header>
    <s:Body>
        <wsen:EnumerateResponse>
            <wsen:EnumerationContext>c15e77be-e32c-132c-8002-14eeddccbbaa</wsen:EnumerationContext>
        </wsen:EnumerateResponse>
    </s:Body>
</s:Envelope>

Sending request:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
    <s:Header>
        <wsa:Action s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/Renew</wsa:Action>
        <wsa:To s:mustUnderstand="true">https://***:5986/wsman</wsa:To>
        <wsman:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</wsman:ResourceURI>
        <wsa:MessageID s:mustUnderstand="true">uuid:12345678-9abc-ef12-1311-151446210678</wsa:MessageID>
        <wsa:ReplyTo>
            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
        </wsa:ReplyTo>
    </s:Header>
    <s:Body>
        <wsen:Renew>
            <wsen:EnumerationContext>c15e77be-e32c-132c-8002-14eeddccbbaa</wsen:EnumerationContext>
        </wsen:Renew>
    </s:Body>
</s:Envelope>

After sending this request, server is crashed, Please see the console logs,

Aug  5 11:11:18 [1785] decide_what_to_do: [/wsman]
Aug  5 11:11:18 [1785] is_alias: aliases []
Aug  5 11:11:18 [1785] auth field [admin]
Aug  5 11:11:18 [1785] auth field [OPENWSMAN]
Aug  5 11:11:18 [1785] auth field [1375681273]
Aug  5 11:11:18 [1785] auth field [/wsman]
Aug  5 11:11:18 [1785] auth field [ce8c147c09b181f609d30cdf4446d80b]
Aug  5 11:11:18 [1785] auth field [auth]
Aug  5 11:11:18 [1785] auth field [00000001]
Aug  5 11:11:18 [1785] auth field [6d40362201fc9444]
Aug  5 11:11:18 [1785] auth field [MD5]
Aug  5 11:11:18 [1785] parse_htpasswd_line: [admin] [OPENWSMAN] [cbaa5a642ffce4c9fe4e2d716775816d]
Aug  5 11:11:18 [1785] [admin] [OPENWSMAN] [cbaa5a642ffce4c9fe4e2d716775816d]
Aug  5 11:11:18 [1785] Done reading request
Aug  5 11:11:18 [1785] Inbound call...
Aug  5 11:11:18 [1785] uri: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem, action: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Renew
Aug  5 11:11:18 [1785] namespace: http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd
Aug  5 11:11:18 [1785] namespace: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2
Aug  5 11:11:18 [1785] Processing Filters: inbound
Aug  5 11:11:18 [1785] Checking Message ID: uuid:12345678-9abc-ef12-1311-151446210678
Aug  5 11:11:18 [1785] Custom Method Endpoint Called
Aug  5 11:11:18 [1785] username: (null), password: Not Set
Aug  5 11:11:18 [1785] Connecting using sfcc XML frontend
Aug  5 11:11:18 [1785] new cimclient: 0x   72cf8
Aug  5 11:11:18 [1785] new cimclient: 1
Aug  5 11:11:18 [1785] no SelectorSet defined
Aug  5 11:11:18 [1785] method or action: Renew
Aug  5 11:11:18 [1785] method or action: Renew
Aug  5 11:11:18 [1785] action not supported


Please help me for resolve the issue.

Regards,
George


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openwsman server was crashed when sending renew action

Klaus Kaempf
* George Varghese <[hidden email]> [Nov 15. 2013 10:54]:
>
> Hi,
>
> I am trying to send wsman request for 'renew' action. openwsman server is
> crashed when we send following requests,

Well, openwsman does not crash but report an error.

The 'renew' command is for subscriptions only, you're apparently trying to
use it on enumerations.

What are you trying to accomplish ?

Klaus
--
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Openwsman-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openwsman-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openwsman server was crashed when sending renew action

George Varghese
I tried to send the below mentioned soap request,

Sending request:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
    <s:Header>
        <wsa:Action s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/Renew</wsa:Action>
        <wsa:To s:mustUnderstand="true">https://***:5986/wsman</wsa:To>
        <wsman:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</wsman:ResourceURI>
        <wsa:MessageID s:mustUnderstand="true">uuid:12345678-9abc-ef12-1311-151446210678</wsa:MessageID>
        <wsa:ReplyTo>
            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
        </wsa:ReplyTo>
    </s:Header>
    <s:Body>
        <wsen:Renew>
            <wsen:EnumerationContext>c15e77be-e32c-132c-8002-14eeddccbbaa</wsen:EnumerationContext>
        </wsen:Renew>
    </s:Body>
</s:Envelope>

I had using java junit client for sending soap request.

Regards,
George

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openwsman server was crashed when sending renew action

Klaus Kaempf
* George Varghese <[hidden email]> [Nov 17. 2013 05:57]:
>     <s:Body>
>         <wsen:Renew>
>            
> <wsen:EnumerationContext>c15e77be-e32c-132c-8002-14eeddccbbaa</wsen:EnumerationContext>
>         </wsen:Renew>
>     </s:Body>
> </s:Envelope>

George, 'renew' in an enumeration context is not supported in the
WS-Management standard. What are you trying to accomplish here ?

>
> I had using java junit client for sending soap request.

Is this open source software ? Can you point me to it ?

Klaus
--
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Openwsman-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openwsman-devel
Loading...