Error Code 4 with SoapRemoveAvailability

Ideas and discussions on third party tools and utilities

Moderator: Forum Moderator

Post Reply
User avatar
Mutt-Li
Novice Crafter
Posts: 45
Joined: Fri Oct 22, 2010 7:06 pm

Error Code 4 with SoapRemoveAvailability

Post by Mutt-Li » Sat Feb 19, 2011 6:33 pm

I'm Getting an ErrorCode 4 With Soap RemoveAvailability
Error Code 4 = Resource Does not Exist

I have included the Soap Packets below (userid and password Removed)
in send Packet you will see the resource ID is 1230411
this page shows it does actually exist
http://www.swgcraft.org/dev/show_resour ... id=1230411



<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:NS2="urn:swgcraft">
<NS1:SoapRemoveAvailability xmlns:NS1="urn:swgcraft">
<input href="#1"/>
</NS1:SoapRemoveAvailability>
<NS2:AddAvailabilityInput id="1" xsi:type="NS2:AddAvailabilityInput">
<ResourceID xsi:type="xsd:int">1230411</ResourceID>
<Server xsi:type="xsd:int">9</Server>
<Planet xsi:type="xsd:int">1</Planet>
<Login href="#2"/>
<ProgramInfo href="#3"/>
</NS2:AddAvailabilityInput>
<NS2:Login id="2" xsi:type="NS2:Login">
<userid xsi:type="xsd:string"></userid>
<md5pass xsi:type="xsd:string"></md5pass>
</NS2:Login>
<NS2:ProgramInfo id="3" xsi:type="NS2:ProgramInfo">
<Name xsi:type="xsd:string">FZ_OCR_Res_Scanner</Name>
<Version xsi:type="xsd:string">1.2.3</Version>
</NS2:ProgramInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>




<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:SoapRemoveAvailabilityResponse xmlns:ns1="urn:swgcraft">
<return xsi:type="xsd:integer">4</return>
</ns1:SoapRemoveAvailabilityResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

User avatar
Mutt-Li
Novice Crafter
Posts: 45
Joined: Fri Oct 22, 2010 7:06 pm

Re: Error Code 4 with SoapRemoveAvailability

Post by Mutt-Li » Sat Feb 19, 2011 7:26 pm

Never Mind, I found a bug in my Program

I have just banned versoins 1.2.2 and 1.2.3 to avoid them causing problems

Version 1.2.4 now available for download

User avatar
Sobuno
Developer
Posts: 2589
Joined: Sun Mar 25, 2007 2:17 am
Contact:

Re: Error Code 4 with SoapRemoveAvailability

Post by Sobuno » Sat Feb 19, 2011 7:49 pm

The resource availability does not exist. The resource exists on Naboo (Planetid = 6), but not Corellia (Planetid = 1).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest