[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetError() #13 - An Exception was thrown into the server



   Sorry, I forgot to include the wsdl.
   See the attachment.

   Max Buda
   DSC Logistics
   1750 S. Wolf Road
   Des Plaines, IL �60018
   Phone: (847) 635-4498
   On Tue, Jan 27, 2015 at 9:32 AM, Charles Wilt
   <[1]charles.wilt@xxxxxxxxx> wrote:

     � �The error message: "Parameters xmldata, $filestream and
     $filedata are
     � �all missing. One of these must not be null."
     � �Leads me to conclude you are not access the service correctly.
     � �Did you get any documentation or a WSDL that describes how to
     use the
     � �service?
     � �If it's a SOAP webservice, you should have gotten a WSDL.
     � �If it's not a SOAP webservice, then treating it like one isn't
     going to
     � �work.
     � �Judging from the error message, I suspect that the service is
     expecting
     � �multi-part form data...
     � �In which case, you're going to need the http_mfd_encoder_xxx()
     � �procedures.
     � �Charles
     � �On Tue, Jan 27, 2015 at 10:01 AM, Max Buda
     � �<[1][2]max.buda@xxxxxxxxxxxxxxxxx> wrote:
     � � ��  �We have been struggling with an error, returned as a
     result of
     � � �our
     � � ��  �request
     � � ��  �to a web service.�� The company who developed the
     web service
     � � �has not
     � � ��  �been able to pinpoint the problem and I couldn't find
     anything
     � � �in the
     � � ��  �archive.
     � � ��  �So, I'm hoping you can help.
     � � ��  �The error is:
     � � ��  �SetError() #13: HTTP/1.1 500 [ISS.0088.9112] An
     Exception was
     � � �thrown in
     � � ��  �the server:[ISS.0086.909
     � � ��  �HTTP/1.1 500 [ISS.0088.9112] An Exception was thrown
     in the
     � � ��  �server:[ISS.0086.9091]
     � � ��  �Parameters xmldata, $filestream and $filedata are all
     � � �missing.�� One of
     � � ��  �these must not be null.
     � � ��  �For the purpose of testing I am using http_url_post,
     but
     � � �ultimately we
     � � ��  �plan to use http_url_post_xml.
     � � ��  �Here are the related lines of code:
     � � ��  �http_debug(*On: @wDebugFil) ;�     � � ��  �@wRetCode = http_url_post(@wURL
     � � ��  �: %Addr(@wPostDta) �� �� �� �� �� �� ��     �� �� �� �
     � � ��� ��     � � ��  �: %Len(@wPostDta) �� �� �� �� �� �� ��     �� �� �� �
     � � ��� �� �     � � ��  �: '/QOPENSYS/Max/Project140099/httpResp.xml'�     � � ��  �: Http_Timeout
     � � ��  �: Http_UserAgent �� �� �� �� �� �� ��     �� �� �� �
     � � ��� �� ��     � � ��  �: 'text/xml' �� �� �� �� �� �� �� ��     �� �� �� �
     � � ��� �� �� ��     � � ��  �: @wSoapAction) ; �� �� �� �� �� �� ��     �� �� �� �
     � � ��� �� �     � � ��  �I am attaching the debug document.
     � � ��  �Any help you can provide is greatly appreciated.
     � � ��  �Max Buda
     � �     �------------------------------------------------------------------
     --
     � � �---
     � � �This is the FTPAPI mailing list.�  To unsubscribe, please
     go to:
     � � �[2][3]http://www.scottklement.com/mailman/listinfo/ftpapi
     � �     �------------------------------------------------------------------
     --
     � � �---
     References
     � �1. mailto:[4]max.buda@xxxxxxxxxxxxxxxxx
     � �2. [5]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---
     This is the FTPAPI mailing list.� To unsubscribe, please go to:
     [6]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---

References

   1. mailto:charles.wilt@xxxxxxxxx
   2. mailto:max.buda@xxxxxxxxxxxxxxxxx
   3. http://www.scottklement.com/mailman/listinfo/ftpapi
   4. mailto:max.buda@xxxxxxxxxxxxxxxxx
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
   6. http://www.scottklement.com/mailman/listinfo/ftpapi
<wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:soapjms="http://www.w3.org/2010/soapjms/"; xmlns:tns="http://gplvap030.srv.gapac.com/GPSOA.Shipment.SmallParcel.WS:SmallParcelShipping/v1"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; name="SmallParcelShipping" targetNamespace="http://gplvap030.srv.gapac.com/GPSOA.Shipment.SmallParcel.WS:SmallParcelShipping/v1";>
<wsdl:types>
<xsd:schema xmlns:tns="http://gplvap030.srv.gapac.com/GPSOA.Shipment.SmallParcel.WS:SmallParcelShipping/v1"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; targetNamespace="http://gplvap030.srv.gapac.com/GPSOA.Shipment.SmallParcel.WS:SmallParcelShipping/v1";>
<xsd:element name="CancelShipmentRequest" type="tns:CancelShipmentRequest"/>
<xsd:element name="CancelShipmentResponse" type="tns:CancelShipmentResponse"/>
<xsd:element name="ProcessSmallParcelRequest" type="tns:ProcessSmallParcelRequest"/>
<xsd:element name="SmallParcelShipmentResponse" type="tns:SmallParcelShipmentResponse"/>
<xsd:complexType name="CancelShipmentRequest">
<xsd:sequence>
<xsd:element minOccurs="0" name="Credentials" nillable="true" type="tns:Credentials"/>
<xsd:element name="Carrier" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="ShipTimestamp" type="xsd:dateTime"/>
<xsd:element minOccurs="0" name="TrackingId" nillable="true" type="tns:TrackingId"/>
<xsd:element name="DeletionControl" type="xsd:string"/>
<xsd:element name="Origin" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Credentials">
<xsd:sequence>
<xsd:element minOccurs="0" name="Id" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="Password" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="Meter" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TrackingId">
<xsd:sequence>
<xsd:element minOccurs="0" name="TrackingIdType" type="xsd:string"/>
<xsd:element minOccurs="0" name="FormId" type="xsd:string"/>
<xsd:element minOccurs="0" name="UspsApplicationId" type="xsd:string"/>
<xsd:element minOccurs="0" name="TrackingNumber" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CancelShipmentResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="HighestSeverity" type="xsd:string"/>
<xsd:element minOccurs="0" name="JobId" type="xsd:string"/>
<xsd:element maxOccurs="unbounded" name="Notifications" nillable="true" type="tns:Notification"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Notification">
<xsd:sequence>
<xsd:element minOccurs="0" name="Severity" type="xsd:string"/>
<xsd:element minOccurs="0" name="Source" type="xsd:string"/>
<xsd:element minOccurs="0" name="Code" type="xsd:string"/>
<xsd:element minOccurs="0" name="Message" type="xsd:string"/>
<xsd:element maxOccurs="unbounded" name="MessageParameters" nillable="true" type="tns:NotificationParameter"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NotificationParameter">
<xsd:sequence>
<xsd:element minOccurs="0" name="Id" type="xsd:string"/>
<xsd:element minOccurs="0" name="Value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProcessSmallParcelRequest">
<xsd:sequence>
<xsd:element minOccurs="0" name="Credentials" nillable="true" type="tns:Credentials"/>
<xsd:element name="SmallParcelRequest" nillable="true" type="tns:SmallParcelShipmentRequest"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SmallParcelShipmentRequest">
<xsd:sequence>
<xsd:element name="Carrier" nillable="true" type="xsd:string"/>
<xsd:element name="ShipTimeStamp" nillable="true" type="xsd:dateTime"/>
<xsd:element minOccurs="0" name="DropoffType" type="xsd:string"/>
<xsd:element name="ServiceType" type="xsd:string"/>
<xsd:element minOccurs="0" name="PackagingType" type="xsd:string"/>
<xsd:element name="PackageCount" type="xsd:nonNegativeInteger"/>
<xsd:element minOccurs="0" name="DeliveryInstructions" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="RateRequestTypes" type="xsd:string"/>
<xsd:element name="TotalWeight" nillable="true" type="tns:Weight"/>
<xsd:element name="Shipper" nillable="true" type="tns:Party"/>
<xsd:element name="Recipient" nillable="true" type="tns:Party"/>
<xsd:element name="Origin" nillable="true" type="tns:Party"/>
<xsd:element name="ShippingChargesPayment" nillable="true" type="tns:Payment"/>
<xsd:element name="LabelSpecification" nillable="true" type="tns:LabelSpecification"/>
<xsd:element name="MasterTrackingId" nillable="true" type="tns:TrackingId"/>
<xsd:element maxOccurs="unbounded" name="PackageLineItems" nillable="true" type="tns:RequestedPackageLineItem"/>
<xsd:element maxOccurs="unbounded" name="AdditionalReferences" nillable="true" type="tns:References"/>
<xsd:element maxOccurs="unbounded" name="Notes" nillable="true" type="tns:Note"/>
<xsd:element name="PackingSlip" nillable="true" type="tns:PackingSlip"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Weight">
<xsd:sequence>
<xsd:element minOccurs="0" name="Units" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="Value" nillable="true" type="xsd:decimal"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Party">
<xsd:sequence>
<xsd:element minOccurs="0" name="AccountNumber" nillable="true" type="xsd:string"/>
<xsd:element name="Contact" nillable="true" type="tns:Contact"/>
<xsd:element name="Address" nillable="true" type="tns:Address"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Contact">
<xsd:sequence>
<xsd:element minOccurs="0" name="ContactId" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="PersonName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="Title" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="CompanyName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="PhoneNumber" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="PhoneExtension" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="FaxNumber" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="EMailAddress" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Address">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="StreetLines" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="City" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="StateOrProvinceCode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="PostalCode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="UrbanizationCode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="CountryCode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="CountryName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="Residential" nillable="true" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Payment">
<xsd:sequence>
<xsd:element minOccurs="0" name="PaymentType" type="xsd:string"/>
<xsd:element name="Payor" nillable="true" type="tns:Party"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LabelSpecification">
<xsd:sequence>
<xsd:element name="LabelFormatType" type="xsd:string"/>
<xsd:element minOccurs="0" name="ImageType" type="xsd:string"/>
<xsd:element minOccurs="0" name="LabelStockType" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RequestedPackageLineItem">
<xsd:sequence>
<xsd:element minOccurs="0" name="SequenceNumber" type="xsd:positiveInteger"/>
<xsd:element minOccurs="0" name="GroupNumber" type="xsd:nonNegativeInteger"/>
<xsd:element minOccurs="0" name="GroupPackageCount" type="xsd:nonNegativeInteger"/>
<xsd:element minOccurs="0" name="PhysicalPackaging" type="xsd:string"/>
<xsd:element minOccurs="0" name="ItemDescription" type="xsd:string"/>
<xsd:element name="Weight" nillable="true" type="tns:Weight"/>
<xsd:element name="Dimensions" nillable="true" type="tns:Dimensions"/>
<xsd:element maxOccurs="unbounded" name="PackageReferences" nillable="true" type="tns:References"/>
<xsd:element maxOccurs="unbounded" name="Contents" nillable="true" type="tns:Content"/>
<xsd:element maxOccurs="unbounded" name="ItemNotes" nillable="true" type="tns:Note"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Dimensions">
<xsd:sequence>
<xsd:element name="Length" type="xsd:nonNegativeInteger"/>
<xsd:element name="Width" type="xsd:nonNegativeInteger"/>
<xsd:element name="Height" type="xsd:nonNegativeInteger"/>
<xsd:element name="Units" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="References">
<xsd:sequence>
<xsd:element name="ReferenceType" type="xsd:string"/>
<xsd:element name="Value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Content">
<xsd:sequence>
<xsd:element minOccurs="0" name="PartNumber" type="xsd:string"/>
<xsd:element minOccurs="0" name="ItemNumber" type="xsd:string"/>
<xsd:element minOccurs="0" name="Quantity" type="xsd:nonNegativeInteger"/>
<xsd:element minOccurs="0" name="Description" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Note">
<xsd:sequence>
<xsd:element minOccurs="0" name="Text" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PackingSlip">
<xsd:sequence>
<xsd:element minOccurs="0" name="AccountNumber" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="PackingSlipRequired" nillable="true" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SmallParcelShipmentResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="HighestSeverity" type="xsd:string"/>
<xsd:element minOccurs="0" name="JobId" type="xsd:string"/>
<xsd:element maxOccurs="unbounded" name="Notifications" nillable="true" type="tns:Notification"/>
<xsd:element maxOccurs="unbounded" name="CompletedShipmentDetails" nillable="true" type="tns:CompletedShipmentDetail"/>
<xsd:element maxOccurs="unbounded" name="ErrorLabels" nillable="true" type="tns:ShippingDocument"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CompletedShipmentDetail">
<xsd:sequence>
<xsd:element name="MasterTrackingId" nillable="true" type="tns:TrackingId"/>
<xsd:element maxOccurs="unbounded" name="CompletedPackageDetails" nillable="true" type="tns:CompletedPackageDetail"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CompletedPackageDetail">
<xsd:sequence>
<xsd:element minOccurs="0" name="SequenceNumber" type="xsd:positiveInteger"/>
<xsd:element minOccurs="0" name="GroupNumber" type="xsd:nonNegativeInteger"/>
<xsd:element maxOccurs="unbounded" name="TrackingIds" nillable="true" type="tns:TrackingId"/>
<xsd:element name="Label" nillable="true" type="tns:ShippingDocument"/>
<xsd:element maxOccurs="unbounded" name="PackageDocuments" nillable="true" type="tns:ShippingDocument"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ShippingDocument">
<xsd:sequence>
<xsd:element minOccurs="0" name="Type" type="xsd:string"/>
<xsd:element minOccurs="0" name="Grouping" type="xsd:string"/>
<xsd:element minOccurs="0" name="ShippingDocumentDisposition" type="xsd:string"/>
<xsd:element minOccurs="0" name="AccessReference" type="xsd:string"/>
<xsd:element minOccurs="0" name="ImageType" type="xsd:string"/>
<xsd:element minOccurs="0" name="Resolution" type="xsd:nonNegativeInteger"/>
<xsd:element minOccurs="0" name="CopiesToPrint" type="xsd:nonNegativeInteger"/>
<xsd:element maxOccurs="unbounded" name="Parts" nillable="true" type="tns:ShippingDocumentPart"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ShippingDocumentPart">
<xsd:sequence>
<xsd:element minOccurs="0" name="DocumentPartSequenceNumber" type="xsd:positiveInteger"/>
<xsd:element minOccurs="0" name="Image" type="xsd:base64Binary"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SmallParcelShipping_PortType_ProcessSmallParcelRequest">
<wsdl:part name="parameters" element="tns:ProcessSmallParcelRequest"></wsdl:part>
</wsdl:message>
<wsdl:message name="SmallParcelShipping_PortType_CancelShipmentResponse">
<wsdl:part name="parameters" element="tns:CancelShipmentResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="SmallParcelShipping_PortType_CancelShipmentRequest">
<wsdl:part name="parameters" element="tns:CancelShipmentRequest"></wsdl:part>
</wsdl:message>
<wsdl:message name="SmallParcelShipping_PortType_SmallParcelShipmentResponse">
<wsdl:part name="parameters" element="tns:SmallParcelShipmentResponse"></wsdl:part>
</wsdl:message>
<wsdl:portType name="SmallParcelShipping_PortType">
<wsdl:operation name="ProcessSmallParcelShipment">
<wsdl:input message="tns:SmallParcelShipping_PortType_ProcessSmallParcelRequest"></wsdl:input>
<wsdl:output message="tns:SmallParcelShipping_PortType_SmallParcelShipmentResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="CancelShipment">
<wsdl:input message="tns:SmallParcelShipping_PortType_CancelShipmentRequest"></wsdl:input>
<wsdl:output message="tns:SmallParcelShipping_PortType_CancelShipmentResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GPSOA_Shipment_SmallParcel_WS_SmallParcelShipping_Binder" type="tns:SmallParcelShipping_PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="ProcessSmallParcelShipment">
<soap:operation soapAction="GPSOA_Shipment_SmallParcel_WS_SmallParcelShipping_Binder_ProcessSmallParcelShipment" style="document"/>
<wsdl:input>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body parts="parameters" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="CancelShipment">
<soap:operation soapAction="GPSOA_Shipment_SmallParcel_WS_SmallParcelShipping_Binder_CancelShipment" style="document"/>
<wsdl:input>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body parts="parameters" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GPSOA.Shipment.SmallParcel.WS.SmallParcelShipping">
<wsdl:port name="GPSOA_Shipment_SmallParcel_WS_SmallParcelShipping_Port" binding="tns:GPSOA_Shipment_SmallParcel_WS_SmallParcelShipping_Binder">
<soap:address location="http://gplvap030:7027/ws/GPSOA.Shipment.SmallParcel.WS.SmallParcelShipping/GPSOA_Shipment_SmallParcel_WS_SmallParcelShipping_Port"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------