Error invoking service comwmappb2bserverServiceException Invalid input URIString

As the subject.
Has anyone ever incounter this error?
I’m tring to send out a EDI e-mail through the PrimaryHTTP.
I don’t know if I’m using the right protocol or not.
Please anything will be great.
Thanks a mill.